From: JAB Newsgroups: comp.os.msdos.djgpp Subject: allergo Date: Wed, 15 Sep 1999 18:05:55 GMT Organization: Deja.com - Share what you know. Learn what you don't. Lines: 29 Message-ID: <7ron5r$pj8$1@nnrp1.deja.com> NNTP-Posting-Host: 195.92.194.21 X-Article-Creation-Date: Wed Sep 15 18:05:55 1999 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95) X-Http-Proxy: 1.1 www-cache.pol.co.uk (NetCache 4.0R1D3), 1.1 x26.deja.com:80 (Squid/1.1.22) for client 62.136.8.120, 195.92.194.21 X-MyDeja-Info: XMYDJUIDjab_joe To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie 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. For my gfx mode set up I'm just doing #define VDU_X 640 #define VDU_Y 480 and set_color_depth(32); if (set_gfx_mode(GFX_AUTODETECT, VDU_X, VDU_Y, 0, 0) != 0) { printf("Error setting video mode\n"); return; } I thought that was right. It compiles fine. -- Catch ya later JAB Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.