Home » U++ Library support » U++ Library : Other (not classified elsewhere) » GetHomeDirectory() not supported on Windows?
GetHomeDirectory() not supported on Windows? [message #10392] |
Thu, 05 July 2007 14:44 |
benoitc
Messages: 17 Registered: July 2007 Location: Nice (France)
|
Promising Member |
|
|
Hi,
I'm wondering why Windows do not have that API available?
Windows has two environment variables that can be easely use for that.
FromSystemCharset(getenv("HOMEDRIVE"));
FromSystemCharset(getenv("HOMEPATH"));
It will then allow Windows programs to store their settings in the users home directory instead of the executable directory.
Regards,
Benoit
|
|
|
Goto Forum:
Current Time: Tue May 13 08:04:20 CEST 2025
Total time taken to generate the page: 0.02773 seconds
|