thanks but for the convertion method
using
USES_CONVERSION;
Then use W2A and A2W.
regards
Abhishek
> how do i convert LPWSTR to LPTSTR
>
> thanks in advance for helping
>
> regards
> Abhishek
Norman Diamond - 01 Oct 2007 02:23 GMT
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
> thanks but for the convertion method
> using
[quoted text clipped - 11 lines]
>> regards
>> Abhishek