www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/06/04:57:40

Date: Fri, 6 Aug 1993 10:49:38 +0100
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: ahelm AT email DOT tuwien DOT ac DOT at (Dipl.-Ing. Anton Helm)
Subject: LIBGRX <=> go32.exe Problem fixed

Problem:
I would like to use LIBGRX with djgpp v1.10. It worked well with the old
version (1.09). But when launching a LIBGRX-application with the new go32
the system crashes.
Today I got a recompiled version of go32.exe. It looked good for the moment.
The graphic-output was OK but...
This go32.exe turns my keybord off when using LIBGRX-graphic modes (???).
(Especially I used the kbhit() and the getkey() commands.)
Maybe it disables the keyboard interrupt? The only accepted keystroke is 
Ctrl-Alt-Del which is no real solution for that problem.

Solution:
I got the go32 v1.10a and the new LIBGRX, but that didn't change anything.
Following a hint from the mailinglist I checked out the event handling.
I switched the MouseEventMode() from interrupt driven to polling mode and
the problem was fixed.
I found a remark about this in the LIBGRX documentation on p.17:
"...a GO32 version dated after the middle of April 1992 should work"

Well, it should...
In fact, the g032 of v1.09 DID work, but that feature is not supported in 
v1.10.

Thanks to all who have supported comments on that problem!

Regards,


Tony


- Raw text -


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