You can also use the third argument to the main() function, just remember you get a copy of environment there.
You can also use the third argument to the main() function, just remember you get a copy of environment there.
mhoover (21st September 2006), sunil.thaha (21st September 2006)
Thanks !! getenv works great.
getenv_s must be windows because I can't compile with that command.
You folks are Qt addicts aren't you? So , how about using qgetenv() instead? It provides portability and same features as the classic getenv() ...
Current Qt projects : QCodeEdit, RotiDeCode
mhoover (21st September 2006)
The only issue about qgetenv is that it is only defined in Qt version 4.X.
mhoover (21st September 2006)
Bookmarks