Switch between Unicode and ANSI
-
Hi, I've got a project where for some reason unicode support is turned on in the code, I've come to this conclusion because it is using the "W" versions of certain functions. I've done a search for #define UNICODE but didn't find in the code. I don't see an option for this in the Visual Studio Preferences either. Is there another way to turn it off? Thanks Hua-Ying
-
Hi, I've got a project where for some reason unicode support is turned on in the code, I've come to this conclusion because it is using the "W" versions of certain functions. I've done a search for #define UNICODE but didn't find in the code. I don't see an option for this in the Visual Studio Preferences either. Is there another way to turn it off? Thanks Hua-Ying
Did you search for both
UNICODE
and_UNICODE
in the .h, .cpp and .dsp files?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
Did you search for both
UNICODE
and_UNICODE
in the .h, .cpp and .dsp files?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
I found it!! My project was generated by another program and it set the Preprocessor define UNICODE in the project. So it was in the Project Properites setting under C/C++ > Preprocessor > Preprocessor Definitions. This is the reason it didn't show up when I searched the code for #define UNICODE. Thanks for the help!! Hua-ying