I'm getting an occasional gpf exception:
Problem signature:
Problem Event Name: APPCRASH
Application Name: PathLabs10.Exe
Application Version: 0.0.0.0
Application Timestamp: 00000000
Fault Module Name: StackHash_ff05
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c000001d
Exception Offset: 04ae8155
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: ff05
Additional Information 2: ff05f37046acef5185ebb7cab4cbfa4d
Additional Information 3: de26
Additional Information 4: de26bf487b3c10560592a1bede0ad9ce
It happens when executing the command ShellExecute() from the code below:
- Code: Select all Expand view RUN
//----------------------------------------------------------------------------
METHOD OpenFile() Class Referrings
LOCAL cFile := temp_name( ALLTRIM( ::oDocsTbl:ImageType ) )
LOCAL oWnd, lCreated
//MemoWrit( cFile, ::oDocsTbl:Image )
lCreated := (::oDocsTbl:cAlias)->( BLOBExport( ::oDocsTbl:FieldPos("Image"), cfile , BLOB_EXPORT_OVERWRITE ) )
IF file( cFile ) .AND. lCreated
DEFINE WINDOW oWnd FROM 0,0 TO -1, -1
ACTIVATE WINDOW oWnd ON INIT ;
ShellExecute( 0, "Open", cfile,,,1 )
oWnd:End()
ENDIF
RETURN NIL
When the gpf occurs it does before executing oWnd:End() but cfile is opened and displayed just fine. Most times cfile is a pdf. Any ideas where to look?
Reinaldo.