So I converted the source to vs2010 and compiled it without errors. but when I run WorldServer it crashes. I tried to debug it and it's pointing me to dbghook.c
I found a forum that said I have to compile all of the dependencies with vs2010 debug. I dont know what that means. And Im sure I compiled my worldserver on Release Configuration. does anyone got any ideas?Code:int _debugger_hook_dummy; #ifdef _M_IA64 #undef _CRT_DEBUGGER_HOOK #define _CRT_DEBUGGER_HOOK __crt_debugger_hook #endif /* _M_IA64 */ __declspec(noinline) void __cdecl _CRT_DEBUGGER_HOOK(int _Reserved) { /* assign 0 to _debugger_hook_dummy so that the function is not folded in retail */ (_Reserved); _debugger_hook_dummy = 0; //the break point was here }
Thanks.




