-- [ Picked text/plain from multipart/alternative ] Hey everybody, I could REALLY use a hand with this!
I needed to make a multi-threaded plugin to handle Port IO for external hardware. The problem is, the MOD always crashes when unloading DLLs when my plugin is loaded. It dies in random destructors from many different DLLs, but usually it's the destructor of some global CUtlVector, such as the destructor of CCollisionEvent g_Collisions. I've tried adding memoverride.cpp to the project, and I've tried changing the project runtime library from "Multi-threaded Debug" to "Multi-threaded Debug DLL" to "Single threaded Debug", and every combination thereof. I think it has something to do with the tier0 memory management and overloading the CRT, but I have no idea how to fix this. All help is greatly appreciated. -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

