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 » Folder for configuration file
Folder for configuration file [message #50202] Sun, 26 August 2018 12:07
forlano is currently offline  forlano
Messages: 1055
Registered: March 2006
Location: Italy
Experienced Contributor
Hello,

this post is connected with my previous post regarding UAC issue on windows 10 ( https://www.ultimatepp.org/forums/index.php?t=msg&th=104 10&start=0&).

It seems that the UAC problem on windows 10 appears because I read/save the configuration file of my app on the user's home that I retrieve with:

GetHomeDirectory()

In fact, if my application tried to read/save the configuration file inside the installation folder no UAC message appears (although the file file was not saved).
I have two questions:

1. which is the best folder to read/save the configuration file and to avoid complain from W10? (I install the program via a NSIS script for all users with admin privilege).

2. Do we have a UPP method to read and save cfg file inside
C:\Users\{username}\AppData\Local\MyApp\
that seems the standard folder where to save the application file.

Thanks!
Luigi
Previous Topic: [solved] Extensions to Xmlize for arrays
Next Topic: Upp::CopyStream reports wrong size.
Goto Forum:
  


Current Time: Wed Jul 24 04:12:48 CEST 2019

Total time taken to generate the page: 0.00901 seconds