|
-
Sep 2nd, 2002, 10:55 AM
#1
Thread Starter
Hyperactive Member
Unicode?
I know that only winNT platform can use wide char proggies.
Here's my question,
When I'm doing a MFC project on Win98, how do I turn on Unicode for my program in order to become Win2000 compliant?
The more important qn is,
When I'm doing a MFC project on Win2000, how do I turn off Unicode for my program in order to run on Win98?
Thanks in advance.
-
Sep 2nd, 2002, 11:07 AM
#2
Monday Morning Lunatic
If you've coded using _T("string") rather than just "string" then you should be able to just add _UNICODE and UNICODE to the preprocessor definitions, then compiling...
...that should be all that's needed, but who said anything was ever simple :-/
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 2nd, 2002, 11:52 PM
#3
Hyperactive Member
All API calls are written so that if the environment is Unicode capable it uses Unicode whenever it can... usually stored in LPTSTRs. If you run it under Win98, it will always use the xxxA call, but under Unicode capable systems it will use xxxW if there is one.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|