From: "Stefan Schimanski" <1Stein AT gmx DOT de> Newsgroups: comp.os.msdos.djgpp Subject: Re: winalleg 30wip examples problem Date: Thu, 2 Jul 1998 20:01:01 +0200 Organization: University of Applied Sciences Wolfenbuettel, Germany Lines: 24 Message-ID: <6ngneh$nre$1@thorin.rz.fh-wolfenbuettel.de> References: <01bda5a0$bc79ef20$8f50c5a3 AT pni770> NNTP-Posting-Host: 141.41.13.114 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >I have installed this lib with source and am having some problems compiling >and running some of the examples eg ex24. the examples documentation claims >that this example works ok. suggestions? ps it displays a small white >window then exits with code 3 Some of examples run in windowed mode and only support 8 bit color depth. When your desktop is in a different color depth, set_gfx_mode returns with an error. This causes the examples to quit immediately. Simply set the desktop to 8 bit and run it again. Bye Stefan Schimanski __ ___ ____ ____ ____ _ _ / )/ __)(_ _)( ___)(_ _)( \( ) )( \__ \ )( )__) _)(_ ) (__)(___/ (__) (____)(____)(_)\_) ------------------------------------------------------------- 1Stein-Software - http://1Stein.home.pages.de - 1Stein AT gmx DOT de Everything is possible, at least in theory