Mail Archives: djgpp/1997/10/11/22:16:19
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
- Raw text -