From: "Tony O'Bryan" Newsgroups: comp.os.msdos.djgpp Subject: Re: A slight crash Date: Wed, 27 May 1998 10:10:14 +0000 Organization: Southwest Missouri State Universtiy Lines: 16 Message-ID: <356BE686.AFBDBB89@nic.smsu.edu> References: <356C3000 DOT 1CC8183B AT pd DOT jaring DOT my> NNTP-Posting-Host: marie.a21.smsu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk deseeker wrote: > wrote a simple touch program that return error in the real dos mode but > survive under Win95 dosshell. The compiler and linker detect no error > even I tried to compile under real mode. It runs well within RHIDE but > crash in RHIDE dosshell AND real dos mode. WHY??? > > (simple functions like setftime(), _chmod() ..etc were used) > > Can somebody help me out. Thanx! That depends on which error you received. Your program is probably overwriting memory that Win95 doesn't catch (big surprise there...), but CWSDPMI properly detects.