Hi Guys,
Have a question regarding the exception filter.
I have a MiniDump class which looks like this:
class MiniDumpHelper
{
public:
MiniDumpHelper( )
{
...
}
LONG WINAPI exitWithDump(st ruct _EXCEPTION_POIN TERS* exceptionInfo)
{
...
return EXCEPTION_CONTI NUE_SEARCH;
}
}
then i have a host.cpp class where i have a main()
I try this:
MiniDump *miniDump = new MiniDump();
SetUnhandledExc eptionFilter(mi niDump->exitWithDump );
Then I get this:
error C3867: 'MiniDump::exit WithDump': function call missing argument list;
use '&MiniDump::exi tWithDump' to create a pointer to member
So I do:
MiniDump *miniDump = new MiniDump();
SetUnhandledExc eptionFilter(&M iniDump::exitWi thDump);
And I get this:
'SetUnhandledEx ceptionFilter' : cannot convert parameter 1 from 'LONG (__stdcall :MiniDump::* )
(_EXCEPTION_POI NTERS *)' to 'LPTOP_LEVEL_EX CEPTION_FILTER'
I'm really stuck, would really appreciate help, thanks in advance!!
z00mit
Have a question regarding the exception filter.
I have a MiniDump class which looks like this:
class MiniDumpHelper
{
public:
MiniDumpHelper( )
{
...
}
LONG WINAPI exitWithDump(st ruct _EXCEPTION_POIN TERS* exceptionInfo)
{
...
return EXCEPTION_CONTI NUE_SEARCH;
}
}
then i have a host.cpp class where i have a main()
I try this:
MiniDump *miniDump = new MiniDump();
SetUnhandledExc eptionFilter(mi niDump->exitWithDump );
Then I get this:
error C3867: 'MiniDump::exit WithDump': function call missing argument list;
use '&MiniDump::exi tWithDump' to create a pointer to member
So I do:
MiniDump *miniDump = new MiniDump();
SetUnhandledExc eptionFilter(&M iniDump::exitWi thDump);
And I get this:
'SetUnhandledEx ceptionFilter' : cannot convert parameter 1 from 'LONG (__stdcall :MiniDump::* )
(_EXCEPTION_POI NTERS *)' to 'LPTOP_LEVEL_EX CEPTION_FILTER'
I'm really stuck, would really appreciate help, thanks in advance!!
z00mit
Comment