FROM : Antti Karanta
DATE : Mon Nov 19 17:06:34 2007
Hi!
I would need to find out the directory where the current executable
resides to find some stuff whose location I know relative to the
executable location.
On linux /proc//exe is a symbolic link to the executable, on
solaris the corresponding symlink is /proc//path/a.out, on windows I
can use GetModuleFileNameA, but I haven't been able to find any way to do
this on os-x.
Any ideas?
-Antti-
DATE : Mon Nov 19 17:06:34 2007
Hi!
I would need to find out the directory where the current executable
resides to find some stuff whose location I know relative to the
executable location.
On linux /proc//exe is a symbolic link to the executable, on
solaris the corresponding symlink is /proc//path/a.out, on windows I
can use GetModuleFileNameA, but I haven't been able to find any way to do
this on os-x.
Any ideas?
-Antti-






Cocoa mail archive

