WoW closing event? menu

Shout-Out

User Tag List

Results 1 to 6 of 6
  1. #1
    Viano's Avatar Active Member
    Reputation
    37
    Join Date
    May 2008
    Posts
    172
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    WoW closing event?

    Hello there,

    after my DLL is injected via EasyHook I am starting a new thread in my DLL in order to open a form window in it. When I close WoW the thread still seems to be running as the wow.exe process is still in the task manager.

    Is it possible to catch some kind of event in C# in order to stop the thread and clean up after yourself while a certain process (in this case wow) is closing?

    EDIT: Even if I just Form.ShowDialog() without starting a new thread sometimes the wow.exe process is still running if I close the form first and then the dialog. If I close wow first then sometimes the form closes too and everything is fine but sometimes the form just hangs not responding anymore.

    Can someone please tell me a clean way for dealing with this behavior in C#?
    Last edited by Viano; 07-31-2010 at 10:25 AM. Reason: additional content
    Viano

    WoW closing event?
  2. #2
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    You could hook a UI event for the game closing.. I'm sure there is one! Look at WoWX for how to hook events and get their human readable names.

  3. #3
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been experiencing the same behaviour since 3.5, the process stays alive after closing the main window.

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  4. #4
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    saw this in ida, should be what you are looking for
    _onexit, _onexit_m (CRT)

  5. #5
    ramble's Avatar Knight-Lieutenant
    Reputation
    29
    Join Date
    Mar 2010
    Posts
    332
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i don't get any of them :Z

  6. #6
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had that problem with Hades and fixed it. Unfortunately I can't remember how. Rofl.

Similar Threads

  1. WoW Closes after a little while?
    By Hakmeister in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 01-25-2009, 01:17 PM
  2. WoW Closes when looking for Pointers
    By marko002 in forum WoW Memory Editing
    Replies: 13
    Last Post: 12-17-2008, 06:21 PM
  3. How to follow WoW's events?
    By FZRedson in forum World of Warcraft General
    Replies: 4
    Last Post: 08-29-2008, 06:17 AM
  4. [QUESTION] Wow closes afther a char-->creature dbc modelledit
    By Soulsedge in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 09-06-2007, 02:25 PM
All times are GMT -5. The time now is 08:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search