Hello, I'm using Visual C++ 2005 and I was wondering if you can use a #pragma or something inside the code itself to turn off unicode I know you can do it manually from inside the IDE by going to Project->Properties->Configuration Properties->General and there setting Character Set to "Not Set", but I'd like to do it from the code itself if possible. Similar to linking in non-standard libs by doing #pragma comment(lib, libname) (if I remember that one correctly).

Turn off unicode using pragma or something inside the code itself?
amitvjti
Tech Applyyourself
wim_
You could do this :-
#undef
UNICODE#undef _UNICODE