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 

siLang in exe and dll

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



Joined: 12 May 2004
Posts: 8
Location: Poland

PostPosted: Fri Nov 19, 2004 9:20 am    Post subject: siLang in exe and dll Reply with quote

Is there any possibilities to link project with dll (static) which both have been translated (siLang componet has been used)?

The problem becomes when I would like to link runtime packeges into the exe - after running file (when first form is created) exception 'Class Tsilang not found" is shown.

After checked 'build with runtime packages' program works but many external library must be added and installed additionally.

I have latest version of silang and Bc++ Builder 6.
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Nov 19, 2004 11:22 am    Post subject: Reply with quote

Hello,
This looks like you're referencing to TsiLangDispatcher of EXE from DLL. But EXE and DLL have different RTTI spaces and as result same classes recognized as different. So to avoid this just use in DLL and EXE separate dispatchers and when calling DLL just pass there the active language to use.
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