From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Select gfx mode in allegro Date: Wed, 18 Mar 1998 19:24:07 +0000 Organization: None Message-ID: References: <350FD243 DOT 83249DE7 AT abonados DOT cplus DOT es> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sergi Marsal writes: >The more simple piece of code I could test it is: [snip] > // ******* HANGS HERE!!! *********** (give me a SIGVABORT signal if I >break here) This code looks fine to me, and works perfectly on my machine! The only problem is that you don't set the palette before calling the mode select dialog, so all the colors are messed up, but that shouldn't be able to cause a crash. All I can suggest is that, since you say the test program works ok, you copy the initialise code from that and try to work out in exactly what way it differs from your own routine... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Pigs use it for a tambourine" - Frank Zappa