X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Wojciech Galazka" Newsgroups: comp.os.msdos.djgpp Subject: Re: NTVDM error Date: Mon, 14 Jun 2004 22:51:50 +0200 Organization: http://news.icm.edu.pl/ Lines: 29 Message-ID: References: NNTP-Posting-Host: wawhsb-192.dial.plusgsm.pl Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: achot.icm.edu.pl 1087245994 22864 212.2.99.192 (14 Jun 2004 20:46:34 GMT) X-Complaints-To: abuse AT icm DOT edu DOT pl NNTP-Posting-Date: Mon, 14 Jun 2004 20:46:34 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i5EL060t016587 Reply-To: djgpp AT delorie DOT com Nish wrote >The djgpp website says that djgpp images may not work properly under >Win 2K/XP and that the cure is to use binaries dated after December >2001. Does this mean (1) the djgpp compiler itself may not work or (2) >the code that it produces may not work? I have the second type of >problem. A client is reporting that code compiled with djgpp works on >some XP machines but not on others. The error is > Answers: 1 Yes, due to bugs in DPMI implementation gcc may fail under Windows NT/W2K/XP/ME/98/you name it .... This is NOT gcc bug but rather Windows' sloppy understanding of DPMI 2 Yes, due to bugs in DPMI implementation a program that uses DPMI (including these ones built by djgpp tools) may fail under Windows NT/W2K/XP/ME/98/you name it .... This is NOT djgpp bug but rather Windows' sloppy understanding of DPMI A workaround is to use djgpp tools and libc specially crafted to work around Windows' bugs. For a start please see the link provided by Andris in another message. As far as I can recall Microsoft has been more or less informed of problems with DPMI handling in NTVDM and did nothing to fix this. 'Dont use DOS anymore, use .NET' is all I heard from them. So I bought an Apple computer ....