[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [Aspell-user] Dictionary Cannot be Opened for Reading
From:       rahulr <rahulr () metadesignsolutions ! com>
Date:       2007-12-13 5:38:32
Message-ID: 14310350.post () talk ! nabble ! com
[Download RAW message or body]


Hi,

I am using aspell for the first time. I created the dll for the aspell. In a
project I am using aspell -

AspellConfig * spell_config = new_aspell_config();
aspell_config_replace(spell_config, "lang", "en_US");

aspell_config_replace(spell_config, "dict-dir", "Dictionaries\\English");

AspellCanHaveError * possible_err = new_aspell_speller(spell_config);

AspellSpeller * spell_checker = 0;
if (aspell_error_number(possible_err) != 0)
    puts(aspell_error_message(possible_err));
else
   spell_checker = to_aspell_speller(possible_err);

On running this code I get the following error message -
The file
"Dictionaries\English/Dictionaries\English/Dictionaries\English/en_US.multi"
can not be opened for reading.

It is able to find the dictionary because If I set dictionary path to a
wrong path -
aspell_config_replace(spell_config, "dict-dir", "Dictionaries\\WrongPath");

then I get different error message -
No Word List can be found for Language "en_US".

I am unable to resolve this problem.

I would really appreciate if anybody can help me on this.

I am runnnig this project on VC++.

Regards,
Rahul Rastogi
-- 
View this message in context: \
http://www.nabble.com/Dictionary-Cannot-be-Opened-for-Reading-tp14310350p14310350.html
 Sent from the Gnu - Aspell - User mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic