delorie.com/archives/browse.cgi | search |
From: | "Damian Yerrick" <mail DOT me DOT at DOT your DOT own DOT risk AT pineight DOT 8m DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: allergo |
Date: | Wed, 15 Sep 1999 13:57:58 -0500 |
Organization: | Rose-Hulman Institute of Technology |
Lines: | 26 |
Message-ID: | <7roqbv$gom$1@solomon.cs.rose-hulman.edu> |
References: | <7ron5r$pj8$1 AT nnrp1 DOT deja DOT com> |
NNTP-Posting-Host: | yerricde.laptop.rose-hulman.edu |
X-Trace: | solomon.cs.rose-hulman.edu 937422015 17174 137.112.104.191 (15 Sep 1999 19:00:15 GMT) |
X-Complaints-To: | news AT cs DOT rose-hulman DOT edu |
NNTP-Posting-Date: | 15 Sep 1999 19:00:15 GMT |
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 |
JAB <jab_joe AT my-deja DOT com> wrote in message news:7ron5r$pj8$1 AT nnrp1 DOT deja DOT com... > I've implamented allergo to handle gfx and the mouse, but when I try > and run my .exe file I get a problem message I put in to tell me that > set_gfx_mode(GFX_AUTODETECT, VDU_X, VDU_Y, 0, 0) is 0, meaning there is > a problem. But I don't know why. set_gfx_mode() returns >= 0 for success and < 0 for failure. > For my gfx mode set up I'm just doing > > set_color_depth(32); > if (set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0) != 0) > { > // Error > } Change it to < 0 and try again. Oh, BTW, are you sure that your card supports true color? Damian Yerrick http://come.to/yerrick http://pineight.webjump.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |