problem with 6.3.1 version

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
kevinhung
Posts: 4
Joined: Thu Jul 28, 2005 2:49 am

problem with 6.3.1 version

Post 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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
kevinhung
Posts: 4
Joined: Thu Jul 28, 2005 2:49 am

Post by kevinhung »

Hi ,
Thanks for your reply, I uninstalled and installed Tsilang components Suite , but got the same error,
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

What kind of errors do you get?
Best regards,
Igor Siticov.
kevinhung
Posts: 4
Joined: Thu Jul 28, 2005 2:49 am

Post 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]!!'
kevinhung
Posts: 4
Joined: Thu Jul 28, 2005 2:49 am

Post 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.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply