How to get Visual C++ to use the char* forms of standard functions?
-
I am writing a Visual C++ program, using features from an from an older Visual C++ program which I wrote. How can I (for example) get the compiler to use the version of the standard function GetFileName(.....) which needs a char* parameter rather than the version which needs a WCHAR* parameter?
-
I am writing a Visual C++ program, using features from an from an older Visual C++ program which I wrote. How can I (for example) get the compiler to use the version of the standard function GetFileName(.....) which needs a char* parameter rather than the version which needs a WCHAR* parameter?
Actualy i don't understand your problem. will you please eloborate?
-
I am writing a Visual C++ program, using features from an from an older Visual C++ program which I wrote. How can I (for example) get the compiler to use the version of the standard function GetFileName(.....) which needs a char* parameter rather than the version which needs a WCHAR* parameter?
-
Actualy i don't understand your problem. will you please eloborate?
-
Check the project settings in your application, and if the Character Set says Unicode, switch to MBCS or Not Set. Alternatively use a properly constructed Unicode parameter.
Oh. good richard.
-
Oh. good richard.
Thanks.