Hi all,

Is there a separate library somewhere for Unicode?  Or is this a major bug in 
the CDK?

I'm using VS2003 C++ and CDK403.  I have a project calling CmSetCreatorFile, 
UmGetUserName, etc.  It compiles and links fine when my project is set to Multi 
Byte character set.

Userdata.h and condmgr.h have TCHARs in the declarations, which convert to 
chars in MB, wchar_ts in Unicode.  But linking in Unicode shows the library 
functions are NOT implemented with wchar_t functions in the library--I get 
linker errors like:

unresolved external symbol "int __stdcall CmSetCreatorFile(char const *,wchar_t 
const *)" 

Of course, changing back to Multibyte finds function
"int __stdcall CmSetCreatorFile(char const *, char const *)" 
and works just fine.

Are there separate UNICODE libraries, or is Palm really so dumb that they 
define params as TCHAR but can't use it?

Thanks in advance for any help,
Dan
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to