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++ Core » Windows ProgramData directory
Re: Windows ProgramData directory [message #59256 is a reply to message #59255] Tue, 06 December 2022 14:06 Go to previous messageGo to previous message
Tom1
Messages: 1302
Registered: March 2007
Ultimate Contributor
Hi,

Thanks Aris! (BTW, nice to hear from you after many years.)

Mirek, would you agree on this:
String GetProgramDataFolder() {
#ifdef WIN32
    return GetShellFolder(CSIDL_COMMON_APPDATA);
#else
    return String("/var/opt");
#endif
}


Best regards,

Tom

EDIT: Removed trailing slash from /var/opt.

BTW: Should it be called GetProgramDataFolder() or GetProgramDataDirectory()? Currently there is at least GetExeFolder(), GetHomeDirectory() and GetConfigFolder().

[Updated on: Wed, 07 December 2022 11:11]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Way to decode websocket frames?
Next Topic: WebSocket client SSL support?
Goto Forum:
  


Current Time: Tue Apr 29 18:54:30 CEST 2025

Total time taken to generate the page: 0.00714 seconds