From: JS Churchill Newsgroups: comp.os.msdos.djgpp Subject: UPDATE : Page Fault During Interupt Date: Tue, 25 Aug 1998 14:28:59 +0100 Organization: British Telecommunications plc Lines: 9 Message-ID: <35E2BC1B.494B@boat.bt.com> Reply-To: churchs3 AT boat DOT bt DOT com NNTP-Posting-Host: pc5685.btlabs.bt.co.uk 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 I have changed the _crt0_startup_flags which was int _crt0_startup_flags = _CRT0_FLAG_NEARPTR | _CRT0_FLAG_NONMOVE_SBRK; it now includes _CRT0_FLAG_LOCK_MEMORY; it now works perfectly under DOS and windows using malloced mem but could someone pleas tell me why it was not working without this.. thanks in advance Simon