From: "Johnny Chan" To: Subject: Q: How to make DJGPP-compiled program to be executed in a stay-alone circumstance? Date: Thu, 21 Oct 1999 11:03:16 -0700 Message-ID: <000601bf1bee$8d182740$ae3d7a86@phoenix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal In-Reply-To: <7uir03$5s3$1@solomon.cs.rose-hulman.edu> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I had developed a small diagnostic program using DJGPP. This program is designed to run from a bootable floppy diskette. I had copied the program itself and the CWSDPMI.EXE to the floppy. When the system boot from the floppy and execute this program, I receive a warning message saying "Unable to create CWSDPMI.SWP" (or somthing similar), and when the program try to make a 32-bit BIOS call, incorrect data were received. After I execute my DJGPP setup batch file which includes "set DJGPP=C:\DJGPP\DJGPP.ENV" and "set path=c:\DJGPP\BIN",..etc, my program then begin to work properly. So here is two questions: (1) how to solve the problem of the unable to open CWSDPMI.SWP, my program does not run on virtual mem at all. (2) What really stop my program running from the floppy. Why DJGPP.ENV is so important to my program? (3) Any way I can combine the DPMI host with my program? --jC