I have encountered a runtime error check failure, when I have run FMOD_Channel_SetDelay function in my program. Here is the message on the MS Visual Studio.
"Run-Time Check Failure #0 – The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."
Could someone enlighten me on this? Thanks!
- raynet0007 asked 9 years ago
I am using Win32 C.
I am trying to delay the song by 2 seconds. (See code below.) They are inserted inside CALLBACK WndProc procedure when a play button is pressed.
FMOD_System_CreateStream(sys001,songtitle, FMOD_SOFTWARE , 0, &songp);
I hope I didn’t miss out any other thing. I am following very closely to FMOD Programmers API documentation.
- raynet0007 answered 9 years ago
Please login first to submit.