Occasionally, will encounter an "Open Object Rexx Interface has encountered a problem and needs to close" error. The error occurs when calling RxWinExec to display a PDF file with SumatraPDF.exe. When using my application in a 1 hour period, I will experience this between 2-3 times.
Open Object Rexx 3.1.2 on Windows XP SP2 (upto date on hotfixes and security patches).
::method Open / Open the PDF file /
parse arg pdffile
if self~IsPDF = -1 then return -1
rc = RxWinExec('SumatraPDF\SumatraPDF "'pdffile'"')
if rc < 32 then do
call ErrorDialog SysGetErrorText(rc)
Attached are screenshots of the error messages and the debug information from the DrWatson log.