Problem with LoadStr and chinese characters

The function loadstr does not work with chinese charaters.  It returns garbage.
ymailhotAsked:
Who is Participating?
 
ssiteConnect With a Mentor Commented:
You probably have one of these :

1. You didn't compile the RC file with Double character resources turned on.
2. You're not using a widestring to store the result.
3. You're not using the right character set to display the text (font.charset of the tlabel for example)

Let me know if this helps.
0
All Courses

From novice to tech pro — start learning today.