Problem in JCLHookExcept.pas
George Tasker <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.jedi |
|---|---|
| Message-ID | <[email protected]> |
The exception hook is interfering with the result being returned in GetLastError. When testing a full media the initial GetLastError on this exception correctly returns 112 which is the "disk full" error. When the JCL exception hook is finished doing it's thing GetLastError returns 183 which is quite different to what caused the problem in the first place. I would like to suggest that the original error be stored, let the exception hook do it's think then restore the initial operating system error for the application to handle. Cheers. George Tasker ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/i7folB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/