Nov 29 2013, 10:15 PM Post #1 | |
Trained Member Posts: 76 From: Nederland, NL Joined: 1-May 12 | Link to video Memcpy and the code after it is skipped in my plugin for some reason. Has anyone ever had something like this happen? It's weird because if the debugger fails, the code will be executed and the plugin should crash later. But the game doesn't crash later, so the code is skipped. EDIT: I passed a value instead of a pointer, but it is still weird that the dll is unloaded without any warning or crash. This post has been edited by badboy: Nov 30 2013, 12:42 PM |
Nov 30 2013, 12:41 PM Post #2 | |
Trained Member Posts: 77 Joined: 25-October 10 | I don't know... you're doing something wrong obviously. Computer don't make errors, so you need to spot your buggy code since there's a reason for a program fault. Check every thing before it goes wrong. |
Nov 30 2013, 02:15 PM Post #3 | |
Coding like a Rockstar! Posts: 1,468 From: ??? Joined: 28-May 09 | ^ unhelpful I've also found that loaded plugins exceptions aren't handled when they fail during initialization. The library is just unloaded and the program tries to continue. You could try enabling "First-chance exceptions" in Visual Studio, if that's your debugger... it seemed to help in my case. -------------------- | CLEO 4.3.22 | A?i?a?o?3D | UI SDK | Black Market Mod 1.0.1 | GInput 0.3 | Cheat Keyboard | Tactile Cheat Activation | Stream Ini Extender 0.7 | SuperVars | ScrDebug | Vigilante Justice: San Andreas | |