Sure did. The same way you told me to. But it's weird, I think its the exe im attaching to itself, not my application.
I almost positive it has to do with the game crashing. (the game detects visual studio as a third party program lmao) And somehow the processes think that the game is still oepn and its still attached to the game. it weird, i noticed the same results when using autoit, if i compiled it into an exe.