adders99
asked on
First Chance Exception message in vc++
why do i get the following error while running a database application:
First-chance exception in CaliberationDB.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in CaliberationDB.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Firts chance exceptions are shown when using C++ exceptions.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I see firts-time exception running this under VC++ 8.0 debugger:
#include "stdafx.h"
#include <stdexcept>
int _tmain(int argc, _TCHAR* argv[])
{
try
{
throw std::runtime_error("Test") ;
}
catch (const std::exception&)
{
}
return 0;
}
#include "stdafx.h"
#include <stdexcept>
int _tmain(int argc, _TCHAR* argv[])
{
try
{
throw std::runtime_error("Test")
}
catch (const std::exception&)
{
}
return 0;
}
One day I should learn to write "first" and not "firts" :(
>>jkr, do you know whether these messages were suppressed by the debugger or is C++ exception based on
>>somewhat different than SEH ?
These are completely different mechanisms/concepts. You can translate C++ exceptions to SEH exceptions using '_set_se_translator()', though. SEH on Win32 is way closer to the system level than C++ exceptions - remeber that Win32 also supports other languages ;o)
>>somewhat different than SEH ?
These are completely different mechanisms/concepts. You can translate C++ exceptions to SEH exceptions using '_set_se_translator()', though. SEH on Win32 is way closer to the system level than C++ exceptions - remeber that Win32 also supports other languages ;o)
The first chance exception is not shown when using C++ exceptions.
jkr, do you know whether these messages were suppressed by the debugger or is C++ exception based on somewhat different than SEH ?
Regards, Alex