delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/12/08:18:18

Date: Tue, 12 Oct 1999 10:17:46 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tobias Koch <toby DOT koch AT okay DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Stub and DPMI server...
In-Reply-To: <7tttfv$178l$1@bnews.gigabell.net>
Message-ID: <Pine.SUN.3.91.991012101041.7576Q-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 12 Oct 1999, Tobias Koch wrote:

> I've been wondering if there is a decent internal stub available for DJGPP
> which will do all the DPMI services so I can get rid of CWSDPMI which
> actually sucks.

That's a bad way of starting your quest for help.  Most people here think 
that CWSDPMI is a fine piece of software.

There are an alternative DPMI server called PMODE/DJ, you can get it from 
the same directory on SimTel where you got csdpmi4b.zip.  But I doubt if 
your problems will go away, see below.

> I have encountered problems installing a mousehandler under
> CWSDPMI services while under Windows it works just great.

This usually means your mouse handler has bugs which simply go unnoticed 
under Windows.  Windows doesn't support several features that allow to 
catch programmatic errors like dereference of NULL pointers, failure to 
lock memory in mouse callbacks, etc.  Instead of blaiming CWSDPMI, I 
suggest to use it to find and correct those bugs.

If you cannot figure out the problems you have under CWSDPMI, post the 
relevant information here, and someone will help you.

Also see section 18.8 of the DJGPP FAQ list for some advice and example 
code that installs a mouse handler.

- Raw text -


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