home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!by703
- From: by703@cleveland.Freenet.Edu (James E. Carey)
- Newsgroups: comp.os.ms-windows.programmer.win32
- Subject: Re: setjmp/longjmp
- Date: 9 Sep 1992 13:49:20 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 20
- Message-ID: <18kvd0INNsu3@usenet.INS.CWRU.Edu>
- References: <1992Sep8.202606.13762@xanadu.com>
- Reply-To: by703@cleveland.Freenet.Edu (James E. Carey)
- NNTP-Posting-Host: slc5.ins.cwru.edu
-
-
- In a previous article, ravi@xanadu.com (Ravi Pandya) says:
-
- >The July NT x86 toolset does not include setjmp/longjmp - the header
- >file is ifdef'ed out, and it is not in the library. It is a fairly
- >straightforward piece of assembly code to write, but before I do it,
- >I'd like to know if there are any subtle reasons why the obvious
- >approach won't work. Does NT do any odd messing around with stacks,
- >privilege levels, etc that would make it hard? I have a suspicion that
- >something like this is the reason it is not in the library.
- >
- You don't say if you are writing a character cell app or a GUI app. If you
- are writing a character cell app see setjmp.h. It works just fine. You may
- need to link with either LIBC or CRTDLL rather than LIBCMT. I've got a
- character cell app that is happily using setjmp and longjmp.
-
- Jim Carey
- Information Resources, Inc.
- jcarey@cykick.infores.com - or - by703@cleveland.freenet.edu
-
-