delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/12/15:49:09

From: "Tor Egil R. Strand" <tstrand AT east DOT no>
Newsgroups: comp.os.msdos.djgpp
Subject: Problems with Allegro in Windown with RSXNTDJ
Date: Sun, 12 Sep 1999 18:15:22 +0200
Organization: Global One Norway
Lines: 42
Message-ID: <7rgjim$omf$1@samson.globalone.no>
NNTP-Posting-Host: ppp-35.kongsvinger-1.globalone.no
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi.

I've posted a question about this to the Allegro mailing list many weeks
ago, but I didn't get any answer. This newsgroup seems more active, so I'll
try to post it here.

I'm using the latest Allegro WIP with James Johnson's DLLs, GCC 2.8.1 and
RSXNTDJ 1.5 (patched). And I'm running Win98 with DirectX 6.1.

My problem consist of two parts.

Part 1:

All Allegro programs (compiled by me or by someone else) end with a "Fatal
error: unable to set GFX_SAFE" in Windows (DOS is fine).
This problem started when I had to turn off the hardware accelration on my
Matrox Millenium card to get rid of a problem with DirectX (sometimes the
computer hanged when starting a DirectX application, sometimes not).
Other DirectX applications work just like before, it just affects Allegro
(and PaintShop Pro 5 to some degree).

Part 2:

This problem occurs with other GFX-modes than GFX_SAFE (also with GFX_SAFE
when I have hardware accelration turned on for my Matrox-card).
When I start an Allegro application, the screen flickers and then I'm back
in Windows. The Allegro application terminated without saying a word.
I am pretty sure that this has nothing to do with my DirectX problem, since
I've tested the programs on another computer without this DirectX problem
and because James Johnson's compile of the Allegro demo-game works fine.
This problem has been following me since the first WIP i downloaded.

Some of you would answer to me: "Try mingw32"

I've done that, but instead of screen-flickering and fatal errors, I get a
General Protection Fault in the Allegro DLL. All that work for nothing.

I don't care if you solve the RSXNTDJ or mingw32 part of part 2, though I
would rather like to compile my Allegro-programs with mingw32 (I don't have
to publish the source code to my programs when I use mingw32).


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019