UnhandledExceptionFilter renamed as hb_UnhandledExceptionFilter

This commit is contained in:
Antonio Linares
2005-11-04 11:32:42 +00:00
parent e465c86866
commit b933034111

View File

@@ -69,6 +69,12 @@ int WINAPI WinMain( HINSTANCE hInstance, /* handle to current instance */
LPSTR lpCmdLine, /* pointer to command line */
int iCmdShow ) /* show state of window */
{
#ifdef HB_INCLUDE_WINEXCHANDLER
LONG WINAPI hb_UnhandledExceptionFilter( struct _EXCEPTION_POINTERS * ExceptionInfo );
LPTOP_LEVEL_EXCEPTION_FILTER ef = SetUnhandledExceptionFilter( hb_UnhandledExceptionFilter );
#endif
LPSTR pArgs = ( LPSTR ) LocalAlloc( LMEM_FIXED, strlen( lpCmdLine ) + 1 ), pArg = pArgs;
char szAppName[ 250 ];