From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Q: allegro_message Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <39402637 DOT 409213505 AT news DOT globalserve DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 35 X-Trace: /bNDCzUjWbI9pxW0GVnHeKxMdaXZ/rQnJwf6YN0gvSmAhkuhi/ebwjWpkHn/arNSoEbo4K3kt/PP!Gkiv9N+A3Z1tvZ7kEYZ8rindTdMVyzEQb54N6XZRPSnMCn9kidJalyEb6L7RUdHFAL3THuyeQ+fa!U/8U X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 09 Jun 2000 03:49:06 GMT Distribution: world Date: Fri, 09 Jun 2000 03:49:06 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 08 Jun 2000 23:07:55 GMT, zargon AT hotmail DOT vom (Zargon) wrote: >http://www.allegro.cc/link.taf?_url=http://www.talula.demon.co.uk/allegro/porting.html&_UserReference=DDBA372DFAD30F21393EAE19 >mentions the use of allegro_message() for portable reporting of errors >when possibly not in graphics mode. > >Allegro 3.12 That's your problem. allegro_message() wasn't introduced until Allegro 3.9.x, as printf() worked. But when we began to run on platforms (e.g. Windows) where printf() doesn't work, we brought in a replacement that works on Windows. >Needless to say, it is rather peculiar that a Web page on allegro.cc >refers to an apparently nonexistent Allegro function. > >The END_OF_MAIN macro the same Web page mentions is equally >nonexistent. That's another 3.9.x addition, designed to provide a WinMain() for Windows, so games don't throw up a console. >according to the Allegro home page 3.12 is still the latest >version. Allegro hasn't been updated in several months... Have you checked the Work In Progress page? Allegro is up to 3.9.32, and it's reportedly more stable than 3.12 (I use 3.9.32). -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/