Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Fri Mar 29 15:16:55 CET 2024

Total time taken to generate the page: 0.01534 seconds