-
killing a dll process
I'm using another company's proprietary dll in a program and they can't help me.
Sometimes, when I 'close' the connection to it, the process doesn't die.
Does anyone know how I can track the process in Windows so that I can kill the PID if necessary?
One important note: there may be more than one instance running from other programs, so I can't just search the process list and kill the first one I find!
I need to kill only the one I spawned.
Also, when I 'open' the dll, it does not return any kind of ID.
Any clues?
Thanks.
-
can you paste the line of code that creates the process?
-
If you create an instance of it , when using it.
All you can do is setting this object to nothing.
If there are still processes running after setting your object to nothing then they have made a bad dll.
-
Public Declare Function mqlOpen Lib ".\mqlvb32.dll" () As Integer
result = mqlOpen()
Returns an integer
0=fail
1=success
-
hmmm, i would write to the designers meself :(