[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Aspell-user] Using aspell with Visual C++
From: |
Jan Gehring |
Subject: |
[Aspell-user] Using aspell with Visual C++ |
Date: |
Wed, 6 Aug 2003 16:27:25 +0200 |
Hello ml,
i try to use aspell with Visual C++. But when i try to load a dictionary my
application sais:
No word lists can be found for the language "en".
I installed the Full installer available at
http://aspell.net/win32/files/Aspell-0-50-3-3-Setup.exe
and the english dictionary availabe at:
http://aspell.net/win32/files/Aspell-en-0.50-2-3.exe
This is my Testapplication:
I can compile and run it but it do not find the dictionary for "en".
#include "stdafx.h"
#include <pspell/pspell.h>
int main(int argc, char* argv[])
{
printf("App started.\n");
PspellConfig *config;
PspellCanHaveError *ret;
config = new_pspell_config();
pspell_config_replace(config, "language-tag", "en");
ret = new_pspell_manager(config);
if(pspell_error_number(ret) != 0){
printf("%s", pspell_error_message(ret));
return 1;
}
return 0;
}
Thanks in advanced.
Jan
- [Aspell-user] Using aspell with Visual C++,
Jan Gehring <=