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
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.