PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Hekkus Sound with Visual C++ 7.0

Hey guys,

I can't seem to compile the latest Hekkus sample for GapiDraw 2.04.

I get 11 unresolved externals, here's one example,

Minimal error LNK2019: unresolved external symbol "public: unsigned int __thiscall Sound::playMod(class Module *)" (?playMod@Sound@@QAEIPAVModule@@@Z) referenced in function "public: virtual long __thiscall CMyApplication::CreateSurfaces(class CGapiDisplay &,struct HINSTANCE__ *)" (?CreateSurfaces@CMyApplication@@UAEJAAVCGapiDisplay@@PAUHINSTANCE__@@@Z)"

I think visual studio can't find the definitions for playMod, volumeSFX, volumeMOD, playingChannelSFX, and other functions in the "Sound" class.

I've tried everything, adding winmm.lib and hss.lib, adding the directories for them, etc.

Any help would be appreciated :)
Yes, there is a problem with VC++ 7.0 and the precompiled lib included on hekkus package (that are compiled with VC++ 6.0).
The solution is simple, open the hekkus workspace on VC++ 7.0 and recompile the lib.
Wow, Thanks! That worked perfectly :)