BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can I retrieve a ressourcestring as widestring and set a

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization
View previous topic :: View next topic  
Author Message
Stefan Kratzsch
Guest





PostPosted: Wed Aug 20, 2003 9:55 am    Post subject: How can I retrieve a ressourcestring as widestring and set a Reply with quote



Hello group,

I have a ressourcestring which I want to retrieve at runtime and
assign it to a caption of a label.

In latin charsets all works well, but I now I have to do a translation
with east-europe charset.

All form properties which I translated display correctly, assignments
a la

label1.caption := button1.caption;

work well, but

label1.caption := anyressourcestring;

doesn't work, some characters are displayed as question marks.

I tried to use the LoadResStringW from TNTSystem unit, but that
doesn't work either, what am I doing wrong?

I'm using WIN2k, D6 German, UpdatePack2, DSPLang 1.07 as translation
tool. My system's locale defaults to polish (as I read in other posts,
this is important).

Best regards,

Stefan Kratzsch
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization 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 phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.