Ok, it works more or less the same on all platforms now. Seems pretty good, needs some minor tweaks. It just outputs each filename in a directory as a symbol message.
http://at.or.at/hans/pd/objects.html
I got env vars working on Windows, thanks to ExpandEnvironmentStrings (). I couldn't find an equivalent for GNU libc, Mac OS X, or GNU/ Linux. Anyone know of a function like that?
.hc
________________________________________________________________________ ____
On Mon, 27 Mar 2006, Hans-Christoph Steiner wrote:
I got env vars working on Windows, thanks to ExpandEnvironmentStrings(). I couldn't find an equivalent for GNU libc, Mac OS X, or GNU/Linux. Anyone know of a function like that?
man getenv man setenv
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
On Mar 27, 2006, at 3:29 PM, Mathieu Bouchard wrote:
On Mon, 27 Mar 2006, Hans-Christoph Steiner wrote:
I got env vars working on Windows, thanks to ExpandEnvironmentStrings(). I couldn't find an equivalent for GNU libc, Mac OS X, or GNU/Linux. Anyone know of a function like that?
man getenv man setenv
Not quite, ExpandEnvironmentStrings() does something different:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ sysinfo/base/expandenvironmentstrings.asp
getenv() is the same on Windows, setenv() == _putenv() on Windows
.hc
________________________________________________________________________ ____
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin