I don't think so. Bad memory management in your host application. A DLL
cannot unload itself from memory, if I understand your problem correctly. I
think you can write another (external) program to scan for an instance of
this DLL in memory, and then kill it. I'm not sure how you would do that,
probably an API call. I can look into it if you pay me! ;) - j/k
HTH
Adrian
Hi
How about an ActiveX EXE.
Can that kill itself?
Ian
> I don't think so. Bad memory management in your host application. A DLL
> cannot unload itself from memory, if I understand your problem correctly. I
[quoted text clipped - 27 lines]
> > Is there a way in the Debug Window form unload even to unload the DLL as
> > well and remove it from memory?
Adrian Enders - 23 Dec 2004 18:05 GMT
Not that I know of, not in this way. Because the objects are created from
your "Third Party Language", it has to kill the thread. As you said, "And
there is unfortunately no way to unload it from this Third Party language."
I have had a couple problems with this with some third party applications
that we use as well. The only method of destroying the object was through
Task Manager. unfortunately I am not much help with this, other than to say
that I don't think this is possible. For your sake, I hope I am wrong. If I
were attempting to create a program that did this, I would look into API
calls. Try this ...
http://www.mentalis.org/agnet/apiguide.shtml
> Hi
>
[quoted text clipped - 35 lines]
> > > Is there a way in the Debug Window form unload even to unload the DLL as
> > > well and remove it from memory?