SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem with 6.3.1 version

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
kevinhung



Joined: 28 Jul 2005
Posts: 4

PostPosted: Fri Dec 02, 2011 2:56 am    Post subject: problem with 6.3.1 version Reply with quote

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
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Sat Dec 03, 2011 2:22 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
kevinhung



Joined: 28 Jul 2005
Posts: 4

PostPosted: Tue Dec 06, 2011 2:28 am    Post subject: Reply with quote

Hi ,
Thanks for your reply, I uninstalled and installed Tsilang components Suite , but got the same error,
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Tue Dec 06, 2011 6:58 am    Post subject: Reply with quote

What kind of errors do you get?
Back to top
View user's profile Send private message
kevinhung



Joined: 28 Jul 2005
Posts: 4

PostPosted: Wed Dec 07, 2011 12:02 am    Post subject: Reply with quote

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]!!'
Back to top
View user's profile Send private message
kevinhung



Joined: 28 Jul 2005
Posts: 4

PostPosted: Wed Dec 07, 2011 12:04 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Wed Dec 07, 2011 10:42 am    Post subject: Reply with quote

Hello,

I can't see how this error is connected to
Quote:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group