Use "PATH.c_str()" to get a C-style string that you can pass to that function.
By the way, make sure that you're not using the Unicode functions, because that would also make it fail.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |