delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/22/00:01:41

From: "Alan McFarlane" <hawkwing AT fdn DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro: Problem with datafiles
Date: Sat, 22 Jan 2000 04:46:55 -0000
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: 195.34.198.105
Message-ID: <38893516@195.34.192.13>
X-Trace: 22 Jan 2000 04:41:58 GMT, 195.34.198.105
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have been trying for weeks now to create an application using (amongst
other things) Allegro. The application uses an uncompressed Allegro
datafile, which I would like to have appended (using exedat) to the main
code. Unfortunatly, I can't get the datafile routines to work.

Using an external datafile and code like:

    DATAFILE* data;
    data = load_datafile("myfile.dat");

works perfectly every time.

If I append the datafile using exedat, which correctly reports that it has
done it's job:

    DATAFILE* data;
    data = load_datafile("#");

never works.

Anyone got any clues?

--
Alan McFarlane
amcfarlane AT bigfoot DOT com



- Raw text -


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