_CRT_DEBUGGER_HOOK Problem with VS2008

C

ChrisLozza

Hi,
I'm having a problem converting my program from VS2005 to VS2008. When I run
the program in VS2008, the application starts up fine but when start playing
around with the application it crashes giving me this error:

"Microsoft Visual Studio C Runtime Library has detected a fatal error"

And then the debugger points me to this function:

__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;
}

I've tried playing around with properties of the project turning the UAC
option to off but still no luck. Can anyone shed any light on this problem?

Many Thanks,

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top