( I am re-posting my message here because after posting it in the EFS Studies group, it didn't appear in that list of posts. Who knows where it went. )
My script loads a DLL which in turn reserves a large amount of memory several times from RAM. In postMain, I want to tell the DLL to release those memory blocks with a simple call to that DLL before the DLL itself is unloaded. However, in postMain it appears the DLL has already been unloaded because I cannot communicate to it. Any call to the DLL in postMain results in an immediate stop in execution of any script after that call, as if an internal error has occurred and was not posted.
So how do I get to communicate to my DLL before it gets automatically unloaded?
Here is a suggestion to the eSignal programming staff : automatically unload all loaded DLLs *after* all code in the postMain block is executed. That would resolve the matter.
Until then, is there another way?
-------------------------------------------------------------
Problem appears fixed in latest version.
My script loads a DLL which in turn reserves a large amount of memory several times from RAM. In postMain, I want to tell the DLL to release those memory blocks with a simple call to that DLL before the DLL itself is unloaded. However, in postMain it appears the DLL has already been unloaded because I cannot communicate to it. Any call to the DLL in postMain results in an immediate stop in execution of any script after that call, as if an internal error has occurred and was not posted.
So how do I get to communicate to my DLL before it gets automatically unloaded?
Here is a suggestion to the eSignal programming staff : automatically unload all loaded DLLs *after* all code in the postMain block is executed. That would resolve the matter.
Until then, is there another way?
-------------------------------------------------------------
Problem appears fixed in latest version.