delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/18/22:19:19

From: Nils van den Heuvel <niheuvel AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Some qusestions
Date: Thu, 15 Jan 1998 16:59:20 +0100
Organization: World Access
Lines: 24
Message-ID: <34BE3258.7531@wxs.nl>
References: <34BCDB23 DOT 6A22 AT wxs DOT nl> <$FjcVDAEvQv0Ew2V AT talula DOT demon DOT co DOT uk>
Reply-To: niheuvel AT wxs DOT nl
NNTP-Posting-Host: sdt0040.wxs.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Shawn Hargreaves wrote:
> 
> Nils van den Heuvel writes:
> >Can i put a .jpg file in an allegro datafile and load it with
> >load_jpeg()???? (I've got a library that works with allegro that does
> >this)... Because when i did this it couldn't load the .jpg file...
> 
> If the JPEG library uses the Allegro PACKFILE routines, you can use a
> name of the form "datafilename.dat#objectname" to read directly from it.
> But I suspect it will be using the normal C library file functions, in
> which case it cannot read from a datafile object.
> 
> --
> Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
> "Pigs use it for a tambourine" - Frank Zappa

well,

it can read the datafiles... I just used a wrong way for opening the
datafile..

Thank you for your help

Nils

- Raw text -


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