This is my first post and I have to admit FMOD is a wonderfull piece of software… love it 😀
I’m close to finishing my app but I’m stuck near the end.
I have made an OCX in VB6 with fmodex.dll 0.4.6.12, everthing runs great but when closing the ocx (quiting ie explorer where it runs) VB crashes.
Of course I read many topics on this and tried the FMOD_System_Close(system) but when calling this I receive a error:
FMOD error!(70) This command failed because System::init or System::SetDriver was not called.
Please be gentle, I’m a real newbe with not much experience in coding. I want to know how should exit in order to prevent this.
- ShadowHunter asked 11 years ago
Think last trying doing something similar, it appears vb6 had some strange oppinions when to initialize/terminate usercontrols or not.
Maybe try debugging if it really attempts to load and unload once.
Also don’t unload if it didn’t load.
Yes, I used the same, even changed it to "systemID" because some think "system" is a reserved namespace in VB6.
@Controller, indeed there lies the problem, I can use "unload me", it will result in an error, also "End" does noet work for OCX.
How must I terminate/unload a OCX ?
Please login first to submit.