Reading unicode from INI

ehboym
01-03-2004, 11:09 PM
hi,

I need to read unicode strings from a unicode encoded INI in to a Visual Basic 6 Text Control (A forms 2 control).

Normally I would use the GetPrivateProfileString function to read from an INI but once the file is encoded in unicode the function return "?????" instead of the real string.

Opening the INI with notepad I can see the real string but the GetPrivateProfileStringW function wont read it.

Any suggestions on how to read it correctly ?

Thanks

EB

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum