Results 1 to 6 of 6

Thread: Stop thread from running

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Atlanta
    Posts
    145

    Question

    I created an object with CreateObject. After I am through with it I cannot close it, It continues running in the background and pops back up after some time. I have set the object = nothing and used WM_CLOSE API call to close the window, but the thread keeps coming back.
    How do I close this process and keep it closed?

    Thanks,

    Joe

  2. #2
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Atlanta
    Posts
    145

    No, It's not a form

    This is not a form but an object. I set it to nothing and it actually closes but keeps coming back like a bad dream everytime I close it.

    Joe

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    hmmm like a nightmare you say?? that's pretty strange, what's in the Object then (IE: what does it do? did you create it yourself?)
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Atlanta
    Posts
    145
    It's a fax job. When I create the faxserver object and fax status they get set to nothing. Only the faxjob object continues to run. When I run it in debug you can see the others set to nothing and you do not see anything when the mouse in over the faxjob object. This seems to happen when the fax is unsuccessful.

    Thanks,

    Joe

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Atlanta
    Posts
    145
    I Have to change the status of the faxjob to stop the process.

    Thanks,

    Joe

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