U++ framework
Do not panic. Ask here before giving up.

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 is currently offline  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
Previous Topic: md5digest format
Next Topic: Opening window during Drag-Drop crashes app.
Goto Forum:
  


Current Time: Sun Apr 26 20:18:33 GMT+2 2026

Total time taken to generate the page: 0.00448 seconds