Date: Sun, 23 Oct 1994 16:32:21 +0000 (O) From: MAHMOUD AT esic DOT eun DOT eg Subject: DJGPP vs. Windows and very strang behavior To: djgpp AT sun DOT soe DOT clarkson DOT edu In my lab we are concerned with building knowledge systems in agriculture. We have different platforms and different PC brands. I use djgpp 2.6.0 to compile SICStus Prolog and to code just the necessary functions I need in my applications. These functions are mainly for displaying different image formats and some primitive functions which are used by Prolog to build user interfaces. The strange behavior: 1) Prolog compiled from the dos prompt cannot run from windows dos box. 2) Prolog compiled from the dos box runs on dos box but cannot run form dos. 3) In GATEWAY2000 4DX2-66V running dos 6.2 and windows 3.1, himem, emm386 and 16 mbyte ram, the graphics give fault error when running in windows dos box (expected). 4) In DIGITAL DEC PC 466D2 MTE with exactly the same configuration, the same graphics programs run fine from the windows dos box, only in slower fashion than running from dos. Notice that the only difference between the two PCs is the graphic card. In GATEEWAY, it is paradise and in DEC, it is S3. Using the generic driver or the specific driver, in GO32 environment, give the same behavior. I wonder, if poeple complaining from fault error when they run their application from windows dos box, tried to re-compile the application in the windows dos box, including GDB and GDB-dpmi. I cannot understand what is going on. I will be very happy if someone could explain the mysteries of DJGPP with WINDOWS. Mahmoud