From: rri!potter AT vtserf DOT cc DOT vt DOT edu (Mark Allen Potter) Subject: _harderr replacement To: djgpp AT sun DOT soe DOT clarkson DOT edu (DJ G++ Mailing List) Date: Tue, 5 Oct 1993 15:04:24 -0400 (EDT) Reply-To: rri!potter AT vtserf DOT cc DOT vt DOT edu I am looking for a solution to a problem. I am near the end of porting a large program, previously written for MSC v6.0, to DJGPP. (Overall it's been a pleasurable experience) I currently have one problem though. The original code made use of the MSC functions: void _harderr( void(_far *handler)() ); void _hardretn( int error ); These functions are used to trap critical MSDOS errors that use interrupt 0x24. Currently I've ported the code without a replacement for these functions, and everything else is working fine. However I am in need of a replacement for these functions. The program in question spends all of its time in graphics mode and reads files from a less than 100% reliable MO-Drive. I therefore must trap the critical errors, or else the operator will never see the dreaded "Abort, Retry, or Fail" errors. Any solutions would be welcomed. I would perfer not to have to modify GO32, but if I must, so be it. Thanks. Potter rri!potter AT vtserf DOT cc DOT vt DOT edu