by fzammetti » Aug 2, 2003 @ 1:28am
I used to have a problem with this, until I learned the "pattern"... Always use the TEXT() macro, and then only use functions defined in TCHAR.h, as Thierry said (hint: when in VC++ or I think eVC++ as well, look up the function you want in the docs, say swprintf or printf, and scroll down, there is usually a section labeled Generic Text String Mappings, and it shows the TCHAR.h function name there... just use that!). Do these things and you should be able to compile for the desktop and PPC's without any problems.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"