From: Radical NetSurfer Newsgroups: comp.os.msdos.djgpp Subject: Allegro392 NOT HAPPY! Date: Mon, 26 Jun 2000 09:26:09 -0400 Message-ID: X-Newsreader: Forte Agent 1.8/32.548 X-No-Archive: yes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.202.134.224 X-Original-NNTP-Posting-Host: 216.202.134.224 X-Trace: 26 Jun 2000 09:28:37 -0400, 216.202.134.224 Lines: 52 X-Original-NNTP-Posting-Host: 64.31.79.51 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I finally decided to download a try out the new W.I.P.... I have set this up (properly) so that I can still compile with the dependable Allegro 3.1.2, and yet use 3.9.2 also... (simply add the version numbers to the end of the names for includes and libs!) NOW: compiling my project in 3.1.2. --> 383,488 bytes 3.9.2. --> 610,816 DIFFERENCE: 227,328 WHY? is this? I have not had the time to read through all of the new 3.9.2. features and options..... In the meanwhile: Problem 1: In 3.1.2: I wish to learn if and when a bitmap pointer has actually been assigned..... I have something like: BITMAP *a_bmp=NULL; a_bmp = create_bmp(z, q); NOW: what is the proper way to determine if 'a_bmp' is still un-assigned (NULL) or actually in use, SUCH THAT a proper call to 'destroy_bmp()' works.... Apparently, calling destroy_bmp() crashes if the pointer is actually unassigned.... Please give an example. Thanks. Problem 2: In 3.1.2: I wish to be able to call a single function, which will either load in an image to a bitmap, or simply just create an empty bitmap, and return..... I want to call this function several times, and EACH time REPLACING the contents of the Bitmap, with the NEW image (raster).... Can someone PLEASE offer some suggestions how this might be accomplished? THANKS! Emails are welcomed: radsmail AT juno DOT com http://members.tripod.com/~RadSurfer/