From: "yaafox" Newsgroups: comp.os.msdos.djgpp Subject: Problem with DOS and DPMI Date: Sat, 30 Oct 1999 18:15:36 +0200 Organization: Club-Internet (France) Lines: 15 Message-ID: <7vf5qm$i4i$1@front1.grolier.fr> NNTP-Posting-Host: ppp-214-56.kd.club-internet.fr X-Trace: front1.grolier.fr 941300374 18578 195.36.214.56 (30 Oct 1999 16:19:34 GMT) NNTP-Posting-Date: 30 Oct 1999 16:19:34 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com My program run perfectly with w98's DPMI server but when I try do run it in DOS (with CWSDPMI) I see : ================================================ Page Fault cr2=10000000 at eip=e75; flags=6 eax=00000030 ebx=00000000 ecx=0000000c edx=00000000 esi=0001a44a edi=00000000 ebp=00000000 esp=00002672 cs=18 ds=38 es=af fs=0 gs=0 ss=20 error=0002 ================================================ I've tried to put " _crt0_startup_flag=_CRT0_FLAG_NULLOK; " in my main() function but it changes nothing. Do anyone have a solution ? Thanks