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 

TsiLangRT on unit without Form

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



Joined: 01 Dec 2003
Posts: 1

PostPosted: Mon Dec 01, 2003 1:16 pm    Post subject: TsiLangRT on unit without Form Reply with quote

Hi,

I have the following need:
I am developing several units that will be used for the infrastructure of all new projects in my company. All error messages must be multi-language and stored in a siLang file. The siLang component will be instanciated at runtime, load the file with the error messages from the different languages and start working. However, since I don't have a form, I can't get the component to work. I'm unable to create a "sil" file that I can load later, and read the Strings from it. I have Delphi 6 and siLang 5.2.5.

Any suggestions? Can anyone show me the code and procedures on how to do this?

Thanks

Pascal
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Sat Dec 06, 2003 10:48 am    Post subject: Reply with quote

I can suggest you to create some datamodule which will holds TsiLang that will contain your units translations. So when using your units in any application there also should be added this datamodule.
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