0
0

OS: Windows 7 Professional 64bit
Deveplopment Tool: Visual Studio 2008 SP1 (VC++)

Hi.

I updated FMOD Ex from 4.31.03 to 4.35.05 today.
The createSound() function returns FMOD_ERR_INVALID_PARAM after I update it.
The source codes are the same as before.

FMOD_CREATESOUNDEXINFO createSoundExInfo;
ZeroMemory(&createSoundExInfo, sizeof(FMOD_CREATESOUNDEXINFO));
createSoundExInfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
createSoundExInfo.length = pFile->GetSize();

FMOD_SOUND* pFSB = NULL;
FMOD_RESULT result = ::FMOD_System_CreateSound(GetFMODSystem(), pFile->GetData(), FMOD_DEFAULT | FMOD_OPENMEMORY, &createSoundExInfo, &pFSB);

What should I do to solve this problem?

  • You must to post comments
0
0

Oops, It’s my big mistake!
I think that I have updated all new files well.
But I have missed dll files in execute folder!

I can load fsb files very well now.
Thank you very much for your advices.

  • You must to post comments
0
0

Ok, I will check it.
Thank you.

  • You must to post comments
0
0

The fastest way to track something like this down is to try to repro the bug inside the FMOD examples. Try loading your FSB in the loadfrommemory example.

  • You must to post comments
0
0

Thanks for your advice.
I have checked it again, but it wasn’t.

Are there any other solutions about this problem?

  • You must to post comments
0
0

Very often the problem when upgrading is mismatched headers. Make sure that you’re pointing at the proper place for your headers and your lib files.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.