How do I get a wchar_t* string from a C++ std::string? std::string.c_str() gives the char* string but I need the wide-charater version to pass into UNICODE version of Windows APIs.
I get the following error in VC++ 6.0 using the latest service pack 5. Just wondering if anyone else has heard of this before. The code works just fine in Dev-C++.<BR ...