From: dsralich Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp and Win2k Date: Wed, 06 Dec 2000 14:19:05 GMT Organization: Deja.com - Before you buy. Lines: 42 Message-ID: <90lhsj$7dn$1@nnrp1.deja.com> References: <90j6hb$ajd$1 AT nnrp1 DOT deja DOT com> <7458-Tue05Dec2000224123+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: 63.248.83.88 X-Article-Creation-Date: Wed Dec 06 14:19:05 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) X-Http-Proxy: 1.1 x52.deja.com:80 (Squid/1.1.22) for client 63.248.83.88 X-MyDeja-Info: XMYDJUIDdsralich To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Please post the exact text of these messages and any other relevant > information (registers, Dr Watson reports, etc.) Windows critical-type message box. Title: "ntvdm.exe - Application Error". Message: "The instruction at '0x0f048d8a' referenced memory at '0x01d10ffc'. The memory could not be 'written'. Click on OK to terminate the program. Click on CANCEL to debug the program" I receive this EXACT same message no matter what I attempt to compile after a few seconds of compilation. > DJGPP doesn't use any ``DOS protected'' memory. It uses the DPMI > interface to request memory from Windows. You are correct. My understanding of DJGPP's memory management is very limited (I haven't studied it or anything). From what I understand though (which I could be/am totally wrong; feel very free to correct me), it constantly switches from REAL mode to PROTECTED mode, and vice versa depending on what instructions need what mode.? Yes/No? I don't think Win2K handles this very well, but again, could be totally wrong. > DJGPP works quite well on NT 4. So this is not an issue with > incompatibilities with NT, it's just that W2K introduced new exciting > bugs into their emulation of DOS and their implementation of DPMI. I apologize then, I figured that since Win2K's core is based off of the NT kernel, memory management would probably not have changed much. Thus, if it didn't work in Win2K, it probably didn't work well in NT 4. My apologies again, just taking my best guess. And, I didn't mean that the problem was necessarily DJGPP's. In fact, I am sure it was changes in Win2k (Microsoft's problem), however, I feel MS will really not care if DJGPP works or not in Win2K, they'll probably just recommend buying VC++ 6. So, I figure even though it's not DJGPP's problem, MS will make it so. Dustin Sent via Deja.com http://www.deja.com/ Before you buy.