From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: mouse .. Date: Mon, 06 Apr 1998 23:04:42 GMT Organization: [posted via] Easynet UK Message-ID: References: <352783B8 DOT BF534181 AT club-internet DOT fr> NNTP-Posting-Host: foot.easynet.co.uk Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Sun, 05 Apr 1998 15:14:32 +0200, Psyche wrote: >Hi, I am using Allegro 3.0, an I have a problem using the mouse in a >real dos mode. >I mean while using the mouse under a dos windowed session, it works >perfectly, but while under a true dos session, it crashes all the time. >What is happening ?? >THANX Are you checking the return value of `install_mouse()'? If it returns -1, the user does not have a mouse driver loaded, and Allegro can't work without one. Windows 95 simulates a mouse driver for DOS boxes, so one is already available in that environment; when Windows 95 is not running you must load one yourself. If this is the cause of the problem, make sure your mouse driver is being loaded -- your mouse should have come with a mouse driver; if not perhaps you can download one from the Internet. -- george DOT foot AT merton DOT oxford DOT ac DOT uk