From: SourceForge.net <no...@so...> - 2007-10-04 02:10:45
|
Bugs item #1806681, was opened at 2007-10-02 18:40 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1806681&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: External Functions Group: 3.1.2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Open Object Rexx Interface Error - RxWinExec Initial Comment: 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 */ expose pdffile parse arg pdffile if self~IsPDF = -1 then return -1 rc = RxWinExec('SumatraPDF\SumatraPDF "'pdffile'"') if rc < 32 then do call ErrorDialog SysGetErrorText(rc) return -1 end return 0 ----------------------- Attached are screenshots of the error messages and the debug information from the DrWatson log. ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2007-10-03 19:10 Message: Logged In: YES user_id=191588 Originator: NO Robert (and Lee), I intend to look into this as soon as I get a chance. But, it won't be until this weekend at least and probably not until I wrap up what I need to do for 3.2.0. Lee, if you do reproduce this with a short program, please attach it. Instructions for getting the PDF reader would be nice too. <grin> ---------------------------------------------------------------------- Comment By: pragmatic_lee (pragmatic_lee) Date: 2007-10-03 18:30 Message: Logged In: YES user_id=1223125 Originator: NO I didn't get a chance to down load and try SumatraPDF today (one of "those" days). I did; however, run another test with Acrobat and was able to open 79 pdf files back to back by closing Acrobat after each document. Will report back my finding with SumatraPDF, probably on Thu. Lee ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-10-03 18:12 Message: Logged In: NO Lee, SumatraPDF is being closed between documents. ---------------------------------------------------------------------- Comment By: pragmatic_lee (pragmatic_lee) Date: 2007-10-03 06:05 Message: Logged In: YES user_id=1223125 Originator: NO I tried your code using Acrobat 6.0 and did not encounter the problem. I did; however, encounter an issue with the maximum number of pdf files that can be opened by Acrobat. It did not "bomb" ooRexx, but it did freeze the application. I was trying to open 78 pdf files back to back and Acrobat seems to have a limit of around 20 that can be opened at any given time. I will download and test SumatraPDF later today and see if I can duplicate the issue. During the 1 hour period are you closing SumatraPDF between each document or are all your "used" documents still open? Lee ---------------------------------------------------------------------- Comment By: rffrexx (rfrasca) Date: 2007-10-02 18:46 Message: Logged In: YES user_id=1209735 Originator: NO Updating ticket to include my sourceforge username. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1806681&group_id=119701 |