Under windows:
GetEnv_("HOMEPATH")
Under Linux your homedirectory will always be: ~/
(A virtual path which always points to your homedir)
Since OSX is based on a unix as well, I'm pretty sure that the same goes for the Mac.
(so "~/somefolder" would point to the somefolder subbdirectory under your homedir...)
You can use the ?win32 / ?linux etc. directives to put the correct homedir in a variable.
GetEnv_("HOMEPATH")
Under Linux your homedirectory will always be: ~/
(A virtual path which always points to your homedir)
Since OSX is based on a unix as well, I'm pretty sure that the same goes for the Mac.
(so "~/somefolder" would point to the somefolder subbdirectory under your homedir...)
You can use the ?win32 / ?linux etc. directives to put the correct homedir in a variable.