thegame8311
Technical User
I know I have come with a question related to this before, but now it seem to have a problem when I make the release build in VS 2010.
The following code line reports 'Error: argument of type "LPCSTR" is incompatible with parameter of type "LPCWSTR", it works in debug mode as seen below just not in release mode:
The following code line reports 'Error: argument of type "LPCSTR" is incompatible with parameter of type "LPCWSTR", it works in debug mode as seen below just not in release mode:
Code:
HRESULT hr = URLDownloadToFile(NULL, (LPCSTR)iplink.c_str(), (LPCSTR)"Test7.txt", 0, NULL);