A Abhishek Sep 28, 2007 #1 how do i convert LPWSTR to LPTSTR thanks in advance for helping regards Abhishek
A Abhishek Sep 28, 2007 #2 thanks but for the convertion method using USES_CONVERSION; Then use W2A and A2W. regards Abhishek
N Norman Diamond Oct 1, 2007 #3 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
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