Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!nstn.ns.ca!uupsi!grebyn!jmbj From: jmbj@grebyn.com (Jim Bittman) Newsgroups: comp.os.msdos.programmer Subject: Re: using int's in C Summary: Problem fixed! Message-ID: <1991Mar25.005251.12943@grebyn.com> Date: 25 Mar 91 00:52:51 GMT Article-I.D.: grebyn.1991Mar25.005251.12943 References: <1991Mar23.021231.21131@grebyn.com> <1991Mar24.174325.23812@news.iastate.edu> Organization: Grebyn Corporation Lines: 13 I'm kind of embarrassed to point out that the *entire* problem was due to not turning off run-time stack checking. I can use the exact same code as Borland, but compile with /Gs, and it works! But: - Why isn't outp (MicroSoft) a "nice" function? - We checked the MS documentation and several other books, but nothing mentioned the /Gs switch (in relation to HW ints), any reasons why? I must thank the net, because that is where the answer came from! Jim Bittman, jmbj@grebyn.com