From: Paolo Farinelli (paolo++at++sgi.com)
Date: 03/11/2003 18:01:19
Hi Jason,
Try pfFilePathv.
From our man pages:
void pfFilePathv(const char *s, ...);
pfFilePathv performs the same operation as pfFilePath but uses a NULL
terminated string in lieu of a colon or semi-colon separated string.
Using pfFilePathv, the example above could be re-written as:
pfFilePathv("/usr/bin", "/usr/sbin", "/usr/local/bin", NULL):
Using pfFilePathv ensures that the proper path separator token gets
inserted depending on the target platform. Note that a maximum of 64
paths may be specified using this function.
Hope this helps,
Regards,
Paolo
Chee Tzuon wrote:
>Hi all,
>
>Thanks for the previous help given on rain creation and DOF access.
>
>Currently, using Visual C++ and Performer 3.0 on NT.
>I need to access a certain texture file from the slave HDD( D: ) and Performer is installed in the master HDD (C:)
>How do i specify the file path to load the file from? I have tried using pfFilePath but does not seems to work.
>
>Thanks
>Regards
>Jason
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-----------------------------------------------------------------------
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043
This archive was generated by hypermail 2b29 : Tue Mar 11 2003 - 18:01:23 PST