Results 1 to 5 of 5

Thread: killing a dll process

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406

    Unhappy 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.

  2. #2
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    can you paste the line of code that creates the process?
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  3. #3
    Swatty
    Guest
    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.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 1999
    Location
    Sunny Southern Weather
    Posts
    406
    Public Declare Function mqlOpen Lib ".\mqlvb32.dll" () As Integer

    result = mqlOpen()

    Returns an integer
    0=fail
    1=success

  5. #5
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    hmmm, i would write to the designers meself
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width