From: Nils van den Heuvel 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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