hi all,
please tell me how to convert TCHAR[] to const char[].
thanks,
rohit negi
Printable View
hi all,
please tell me how to convert TCHAR[] to const char[].
thanks,
rohit negi
Why is this an issue? Are you trying to link with some third party lib? If so, the easiest way is to set your project to MBCS instead of unicode.
Is your project set to Unicode or MBCS?
to convert TCHAR[] to char[] there is a function WideCharToMultiByte. It depends on locale.
To use it or not, it depends onQuote:
Originally Posted by MFCQuery
Quote:
Originally Posted by Marc G