[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] aspell.conf is not recognized under windows

From: Ephraim Talrock
Subject: Re: [Aspell-user] aspell.conf is not recognized under windows
Date: Sun, 06 Aug 2006 11:36:58 +0200

> Hi Ciao,

> I've had problems with changing settings. One problem was
> initializing the speller properly. This is what I'm currently
> doing in my setup code.
>   AspellConfig * Config_;
>   AspellSpeller * Speller_;
>  Config_ = new_aspell_config();
>  AspellCanHaveError * ret
>   = new_aspell_speller(Config_);
>  if (aspell_error(ret)) {
>     const char *err_msg = aspell_error_message(ret);
>     WIDEBUFF(msg, err_msg,strlen(err_msg),CP_ACP);
>   MessageBox(HWnd, WSTR(msg, err_msg), _("Spell Check"),MB_OK);
>   CmCancel(HWnd); //close the dialog
>   return;
>  }
>  Speller_ = to_aspell_speller(ret);

Your code is like that one of the documents using Aspell C-API, so I use
it in the same way.

> You can find the whole source at
> If you have more questions, you might mention which version of
> aspell you are using.
> One of the changes I made to the above changed where aspell.conf
> was found. I made it look to the executable directory and to "My
> Documents" for the user files like en.pws.

I tried to set the conf-dir option to the conf Folder of the app, which
I develop. How did you set the directories? with conf-dir too?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]