Hey fmod

I’ve downloaded your latest lib+dll, and I now have problems loading the type “FSOUND_SAMPLE”, I get the RUN-TIME error:

“System.TypeLoadException: Could not load type FSOUND_SAMPLE from assembly”

In Visual Studio C++ .Net.

The problem is in these lines of code:

FSOUND_SAMPLE *pSound = FSOUND_Sample_Load(FSOUND_FREE, filename, 0, 0, 0);

But what is wrong here ?? – some project settings or what ??
(the code compiles and links fine)

Thanks ..

  • You must to post comments

Allright, thanks for the input. I guess your are right that its something about .net, because everything works fine in vc++, your fmod rules ..

If I find the error I’ll mail you back ..

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.