Date: Tue, 12 Oct 1999 10:17:46 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Tobias Koch cc: djgpp AT delorie DOT com Subject: Re: Stub and DPMI server... In-Reply-To: <7tttfv$178l$1@bnews.gigabell.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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.