Article View: comp.windows.ms.programmer
Article #1869Re: question regarding catch/throw
From: Mark Boyd
Date: Wed, 27 Mar 1991 22:53
Date: Wed, 27 Mar 1991 22:53
13 lines
1160 bytes
1160 bytes
In article <1991Mar27.182820.17579@cuff.uucp>, boag@cuff.uucp (Scott Boag) writes: > We are about to implement a generalized error handling scheme that uses > catch/throw (i.e. setjump/longjump). I am a bit worried about the > behavior of these functions in the MS Windows environment. Has anyone > had prior experience with using these? Thanks in advance. We used these in our Windows program but to a slightly different tune. We did the CATCH right before the message loop in the WinMain routine. We then used THROW to get back to this location when we needed to terminate the system due to a fatal error. It worked fine and we never had any problems. Mark Boyd Inter-Tel, Inc.
Technical Details
Message-ID:
<360@intertel.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!intertel!boyd_mReferences:
<1991Mar27.182820.17579@cuff.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!intertel!boyd_m From: boyd_m@intertel.UUCP (Mark Boyd) Newsgroups: comp.windows.ms.programmer Subject: Re: question regarding catch/throw Keywords: catch throw setjump longjump Message-ID: <360@intertel.UUCP> Date: 27 Mar 91 22:53:03 GMT References: <1991Mar27.182820.17579@cuff.uucp> Organization: Inter-Tel, Inc., Chandler, AZ Lines: 13