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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » GetHomeDirectory, GetHomeDirFile in Win32
Re: GetHomeDirectory, GetHomeDirFile in Win32 [message #10493 is a reply to message #10395] Thu, 12 July 2007 11:02 Go to previous messageGo to previous message
benoitc is currently offline  benoitc
Messages: 17
Registered: July 2007
Location: Nice (France)
Promising Member
Thanks.

BTW, it might be good to update ConfigFile() as well for Windows to be more compliant with Windows path used for application.

Instead of using the EXE directory.
return GetExeDirFile(file);

We can store config file in the "Application Data" Windows directory that belong to the user.
String p = GetHomeDirFile("Application Data\\" + GetExeTitle());
static bool b;
if(!b) {
	RealizeDirectory(p);
	b = true;
}
return AppendFileName(p, file);


Regards,
Benoit
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropList::NotNull implemented, fixed refreshing right button after closing popuped list
Next Topic: New simple static widget DisplayCtrl...
Goto Forum:
  


Current Time: Tue Aug 26 23:17:06 CEST 2025

Total time taken to generate the page: 0.05630 seconds