delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/16/05:12:18

From: Riddler02 AT aol DOT com
Message-ID: <e1.143510b.25dbac7f@aol.com>
Date: Wed, 16 Feb 2000 02:32:15 EST
Subject: unload_datafile( ) freezes - please help :(
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: AOL 4.0 for Windows 95 sub 38
Reply-To: djgpp AT delorie DOT com

Hello all-

I am using all the latest versions of GCC, Allegro, and RHIDE under Win95.  
heres the problem:  i have the following datafile (which now contains a bunch 
of RLE_SPRITEs and BITMAPS)

    DATAFILE *datafile;

and when I call the function
    
    unload_datafile(datafile);

my program freezes.  I have isolated it and I know it is causing the problem. 
 i've tried using unload_datafile() in other smaller test-programs and it 
works fine.  I think this problem arose around the time when i changed the 
type of some of the datafile objects from BMP to RLE.  anyway, since the 
program freezes I have to use ctrl+alt+end, and here's the messages RHIDE 
turns up with:

    Program exit code: 255 (0x00ff)

and then
    
    Shutting down Allegro
    Exiting due to signal SIGINT
    INTR key Pressed at eib=000339d7

which is not too much help at all.  Also, I have another totally unrelated 
question:  I have a library, and sometimes when I build this library with 
RHIDE it works fine and there are no errors.  However, only moments later I 
will try to build the same exactly library with all settings and command 
lines the same, and RHIDE will say:
    
    Creating libmaps.a
    There were some errors

Does it tell me anything about those errors?  Not at all.  What is strange is 
that sometimes this happens and sometimes not... any help on either problem I 
would love to hear - thanx everybody :)

-Kevin  

    

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019