Everytime I run my application, I get twice the same error: “Application error, the memory could not be read”. When running this in my debugger environment, it causes it to quit without saving.
This is hampering debugging seriously.
It only happens if i quit the application after the FSOUND_Init call.
I could not find any documentation about any descruction calls to make before quitting, perhaps I should de-allocate something first, but what and how?
Any help is greatly appreciated,
- Anonymous asked 13 years ago
Why are you calling FSOUND_Init when the app is closing ?
Ok, sorry if i wasn’t clear enough. I’m sure the error has something to do with FMod, since i don’t get any error if i run the app without calling any of its api functions, or if i break execution within the debugger environment before any of its api functions is called, i.e. before calling FSOUND_Init
Btw, you must free all the Stream/Sample with FSOUND_Stream_Close/FSOUND_Sample_Free.
Thanks for the tip, but this can’t be the problem. After calling FSOUND_Init, no stream is open yet.
Please login first to submit.