Posted:
Nov 15, 2005 @ 10:33am
by Conan
it's the music load function only that has the issue. When I comment out the game builds. I will examine the way it works & see if I can fix & will let the author know also.
Posted:
Nov 15, 2005 @ 2:25pm
by Conan
If I set the switch which controls 'treat wchar_t as built-in' to No (/Zc:wchar_t-) then PocketFrog fails in a similar way to Hekkus (The PF lib has been built for VS2005, Hekkus has not)
The Hekkus load function is being passed the name of the module to load as TEXT("filename.mod") and expects to see a wchar_t so I don't know what to do to change the function to work.
In the Hekkus .h file hssData.h there are a couple of lines setting up this function so it's these that fail however there seem to be plenty of other places where something the same seems to work.
There must be something different between loading a file from a resource & loading a file from the file system.
Success - at least it builds now
Posted:
Nov 15, 2005 @ 2:51pm
by Conan
I had to set both projects (PocketFrog and my own game) 'treat wchar_t as built-in' to No (/Zc:wchar_t-) to get a successful build. Now I just have to make the game work