[PD-dev] pd_getdirname

Miller Puckette mpuckett at imusic1.ucsd.edu
Wed Dec 3 22:43:03 CET 2008


Hmm, pd_getdirname() doesn't seem to exist... if you're trying to open a
file in the directory of the patch, the usual way is using 
canvas_open() or canvas_makefilename() - these don't need to know
Pd's own working directory, which, in windows, might not even exist
as far as I can tell.

cheers
Miller

On Wed, Dec 03, 2008 at 01:13:05PM -0800, Isidro Gonzalez wrote:
> I?m trying to retrieve the directory at which
> pd is installed, and the function:
> 
> EXTERN t_symbol *pd_getdirname(void);
> 
> Which is in m_pd.h does not seems to be valid for the
> MS CV compiler. 
> Can anybody tell what I?m doing wrong and/or any other
> way to do the same thing?
> Many thanks
> Isi
> 
> 
> 
>       
> 
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list