Page 1 of 1

problem with 6.3.1 version

Posted: Fri Dec 02, 2011 2:56 am
by kevinhung
OS:Windows Vista Ultimate
C++Builder 2007 English Professional version
Silang 6.3.1 version

Hi,
I am working on a project that has two language(English,and French), and let user can change the language while running the program,
So I put siLang and SilangDispatcher on main form, put siLangLinked on other form, when compiling it, I got
"include file 'silngLnk.h' error", I search my computer, I found there is a siLngLnk.hpp ,so I change to siLngLnk.hpp, but I got 56 errors about siComp.hpp,
I don't know how to do it, would you please help me. thanks

Posted: Sat Dec 03, 2011 2:22 pm
by isiticov
Hello,

May be you have selected the HPP files for other IDE. Because the only reason for such behavior I can imagine is wrong HPP files.

Posted: Tue Dec 06, 2011 2:28 am
by kevinhung
Hi ,
Thanks for your reply, I uninstalled and installed Tsilang components Suite , but got the same error,

Posted: Tue Dec 06, 2011 6:58 am
by isiticov
What kind of errors do you get?

Posted: Wed Dec 07, 2011 12:02 am
by kevinhung
Hi,
I run my project, when I changed language, it showed error->
Project SE322.exe raised exception class ELanguageError with message '2 - is not a valid property value! Value must be within [1..1]!!'

Posted: Wed Dec 07, 2011 12:04 am
by kevinhung
kevinhung wrote:Hi,
I run my project, when I changed language, it showed error->
Project SE322.exe raised exception class ELanguageError with message '2 - is not a valid property value! Value must be within [1..1]!!'
I run it in XP Chinese version.

Posted: Wed Dec 07, 2011 10:42 am
by isiticov
Hello,

I can't see how this error is connected to
I got 56 errors about siComp.hpp
but it just means that on some form you have TsiLang with NumOfLanguages set to 1 but applications tries to change ActiveLanguage property to 2. So this is why this exception raised.