Quote: "d:\cpp\win32_pgdk\test2\include/initPureGDK.h(29) : error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR'"
I get this error when it's trying to convert std::string path to LPCWSTR. Apart from re-writing the initPureGDK() function to get it working is there a quicker way?
What I did find was this:
Quote: "Resolution
You will have to do one of two things:
Change your project configuration to use multibyte strings. Press ALT+F7 to open the properties, and navigate to Configuration Properties > General. Switch Character Set to "Use Multi-Byte Character Set".
Indicate that the string literal, in this case "Hello world!" is of a specific encoding. This can be done through either prefixing it with L, such as L"Hello world!", or surrounding it with the generic _T("Hello world!") macro. The latter will expand to the L prefix if you are compiling for unicode (see #1), and nothing (indicating multi-byte) otherwise."
I don't really want to convert the entire project to a multi-byte character set.
EDIT: Setting up a new project I think I skipped a few steps...
Warning! May contain Nuts!