Converting Source to VS2010

12/06/2014 07:53 kamoteshake#1
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
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
}
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?

Thanks.
12/08/2014 03:13 kamoteshake#2
UPDATE: if I turn the Buffer Security check off it runs perfectly. anyone got any Ideas on what's causing this?