From: Alistair Bain Newsgroups: comp.os.msdos.djgpp Subject: Allegro datafiles - HELP!!! Date: Sat, 11 Oct 1997 19:31:51 +0100 Sender: Alistair Bain Distribution: world Message-ID: <9uElnDAXY8P0MwFy@pulsedesign.demon.co.uk> NNTP-Posting-Host: pulsedesign.demon.co.uk MIME-Version: 1.0 Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk OK, I'm not sure what's going on here, maybe you can help. I've been looking at some of my old programs and when I try to compile them (no errors) they crash (not an uncommon event - but read on). I have isolated the problem to the load_datafile line. The datafiles were originally created in 2.1 and 2.11. Are there any known problems with 2.2 datafiles. All the datafiles contain is a few modex compiled sprites and a palette. I've tried exporting the sprites to pcxs and then re-importing them into a new datafile - The program still crashes at the load_datafile statement. I have been using DATAFILE *data; //with global variable initialisations data=load_datafile("data.dat"); //in main I have also tried printing the filename to a temp buffer and then passing that to the load_datafile. PS have tried downloading new 2.2 and making it. PPS Haven't tried re-installing DJGPP (yet) PPPS They used to work... -- Alistair Bain AHBain AT NOSPAMPLEASEWEREBRITISH DOT pulsedesign DOT demon DOT co DOT uk