ExitProcess or exit?

2003-03-15 Thread Max Bowsher
#ifndef _CYGWIN_ ExitProcess (1); #else exit (1); #endif I'm puzzled by the above. Shouldn't we be giving MSVCRT the opportunity to run any shutdown it wishes to? Max.

Re: ExitProcess or exit?

2003-03-16 Thread Robert Collins
On Sun, 2003-03-16 at 01:01, Max Bowsher wrote: > #ifndef _CYGWIN_ > ExitProcess (1); > #else > exit (1); > #endif > > I'm puzzled by the above. Shouldn't we be giving MSVCRT the opportunity to > run any shutdown it wishes to? Well ExitProcess is the windows API exit call. Is there a MSVC

RE: ExitProcess or exit?

2003-03-16 Thread Gary R. Van Sickle
> On Sun, 2003-03-16 at 01:01, Max Bowsher wrote: > > #ifndef _CYGWIN_ > > ExitProcess (1); > > #else > > exit (1); > > #endif > > > > I'm puzzled by the above. Shouldn't we be giving MSVCRT the opportunity to > > run any shutdown it wishes to? > > Well ExitProcess is the windows API exit

RE: ExitProcess or exit?

2003-03-16 Thread Robert Collins
On Mon, 2003-03-17 at 06:52, Gary R. Van Sickle wrote: > > Well ExitProcess is the windows API exit call. Is there a MSVCRT exit() > > ? > > Sure - it'd be hard to justify the "CRT" part without it! Yeah, I've LCD on my laptop ;}. -- GPG key available at: