www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/18/15:49:47

From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Directory access - easy method?
Date: 18 Aug 1999 18:37:22 GMT
Organization: Ericsson Erisoft AB, Sweden
Message-ID: <7peuh2$se3$1@antares.lu.erisoft.se>
References: <37BAF973 DOT 6D5C AT ns DOT sympatico DOT ca>
NNTP-Posting-Host: spica-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Klaas (klaas AT ns DOT sympatico DOT ca) wrote:
: In allegro, in any of the "load_file" function, I can't specify a
: directory, or else the file will not be found.  What are other
: alternatives?

: eg.

: load_midi("temp.mid"); //works fine
: load_midi("midi\temp.mid"); //returns NULL pointer

Well, you aren't specifying a directory but a file named
"midi<TAB>temp.mid". Try reading up on your C knowledge or
"midi/temp.mid". 


Right,

							MartinS

- Raw text -


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