Character display problem

Post Reply
acopapic
Posts: 1
Joined: Tue Dec 20, 2005 8:14 am

Character display problem

Post by acopapic »

Hi,

My application reads dialog controls from resource file (dll) and cannot display characters from Latin Extended A Block (c acute, c caron and z caron) under Windows 98. Only s caron is displayed fine. Application is built under Windows XP. Under Windows XP works fine with all characters. When I make application under Windows 98, all characters are fine except z caron (substituted with _ ). But, that application doesn't work fine under Windows XP - characters c caron and c acute are substituted with | (because in resource file in this case c acute is represented with only one byte, not two, and XP cannot read it).
I can use two dll's, one for Windows 98 and the other for XP, but still I have a problem with z caron under Windows 98. And, this is a problem ONLY when application reads text from dialog resources. When application sets text to dialog controls ( SetText() --> SetWindowText() ), or to any dc, it works fine!
Is there any solution to this?!
I tried with Regional settings etc., but it didn't help.

Regards
Aleksandar
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Aleksandar,

On those labels where the text is not properly shown, you may define them as "aaaa", "bbbb", etc. in the resource and then REDEFINE SAY ... PROMPT ... ID ... them to the right text.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply