From: Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! INT21 - 3D problem!!!! Date: Sun, 9 Mar 1997 0:41:59 Organization: Rice University, Houston, Texas Lines: 9 Message-ID: <33220757.SANDMANN@spica.dmccorp.com> References: <01bc2b7c$ce3fad70$7229cfa9 AT p590> Reply-To: SANDMANN AT spica DOT dmccorp DOT com NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > HERE IS A GOOD ONE! I have been racking of what little is left of my > brains over this problem. Can someone tell me what is going on?? I cannot > get a simple Int21 function 3D (open a file to work), using the CWSDPMI. This is not DPMI compliant. Read the spec. You are expecting DOS extension to work. It works in most other DPMI providers for compatibility reasons, but it's not valid DPMI code. Don't do it. 3D takes a segment register. Pointers aren't valid in this manner. Use the libc to do these things, or study it to find out how it's done (hint - transfer buffer).