|
-
May 2nd, 2002, 09:32 AM
#1
Thread Starter
Hyperactive Member
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.
-
May 2nd, 2002, 09:40 AM
#2
Bouncy Member
can you paste the line of code that creates the process?
-
May 2nd, 2002, 09:41 AM
#3
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.
-
May 2nd, 2002, 09:41 AM
#4
Thread Starter
Hyperactive Member
Public Declare Function mqlOpen Lib ".\mqlvb32.dll" () As Integer
result = mqlOpen()
Returns an integer
0=fail
1=success
-
May 2nd, 2002, 09:47 AM
#5
Bouncy Member
hmmm, i would write to the designers meself
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|