Re: DLL memory leaks
- Posted by andi49 Feb 05, 2014
- 1415 views
Okay, i see the problem.
But, a dll is made, becouse many differnt programs can use it, so you can't be sure if an other program still uses this dll.
Forcing an unload is not possible in this case.
If the dll is only used by one program, then you have some other opportunities. You can move the dll to an .exe and use some kind of IPC.
If the loaded .exe exits all memory is cleanded up by the OperatingSystem.
On the other hand why should a "End User Programming with Hierarchical Objects for Robust Interpreted Applications" Language should handle this?
Maybe I'am to 'easyminded' but i prefer a 4.1x with memstructs over a 4.1.x with 'dll unloading'.
Just my 2 cent.
Andreas