From: eddie AT lvp DOT nl (Eddie Penninkhof) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with DPMI / NT4.0 Date: Thu, 03 Sep 1998 15:53:48 GMT Organization: L.V.P. b.v. Message-ID: <35f1bb8a.1682118@news.worldonline.nl> References: <35eea126 DOT 699595 AT news DOT worldonline DOT nl> NNTP-Posting-Host: vp210-59.worldonline.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >I'm trying to access a 32 bit 'TSR' djgpp program from a 16 bits DOS >program. I'm using a ('software') interrupt to achieve this. This >works fine in a OS/2 or Windows 95 DOS-box, but crashes in a Windows >NT 4.0 (SP3) DOS-box. It gives a SIGSEGV in the djgpp-program and a >'16 bit MS-DOS Subsystem' popup: 'X#=0D, CS=00C7 IP=00004989. The >NTVDM CPU has encountered an unhandled exception.' Some more information: The program crashes after 'inthandler' has been executed and control should be returned to the 16 bit DOS program. 'inthandler' itself is executed correctly (e.g. when I add a printf("Hello, World!\n");). CU, Eddie.