convert LPWSTR to LPTSTR

  • Thread starter Thread starter Abhishek
  • Start date Start date
thanks but for the convertion method
using
USES_CONVERSION;

Then use W2A and A2W.

regards
Abhishek
 
You found half of the answer. Here's more of the answer:

#ifdef UNICODE
just copy the pointer, or copy the memory unchanged
#else // ANSI
use W2A
#endif // UNICODE or ANSI
 
Back
Top