P
PowerM
Hello
I have Form with Ocx on it, this form is loaded from another one, lets call him Start. This ocx is not checked under references menu.
So Start form starts Form with Ocx and ocx is loaded into memory, after closing that form, ocx persists in memory until I close Access.
What I need is unload that control while start control is still working. Unload method not working, I have tried windows API function FreeLibrary and FreeLibraryAndExitThread they work fine, but after execution whole Access clashes.
My questions are:
Why this ocx still persist in memory?
How to unload that control safely?
I have Form with Ocx on it, this form is loaded from another one, lets call him Start. This ocx is not checked under references menu.
So Start form starts Form with Ocx and ocx is loaded into memory, after closing that form, ocx persists in memory until I close Access.
What I need is unload that control while start control is still working. Unload method not working, I have tried windows API function FreeLibrary and FreeLibraryAndExitThread they work fine, but after execution whole Access clashes.
My questions are:
Why this ocx still persist in memory?
How to unload that control safely?