![]() |
feature suggestion |
Post Reply ![]() |
Author | |
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() Posted: 27 November 2009 at 8:26pm |
You should include in ToolkitPro a feature to save all the settings in an XML file instead of Registry and the XML file should be in the app folder. Saving large amounts of data in Registry by many applications slows down the system performance.
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
Marcus ![]() Groupie ![]() Joined: 04 June 2006 Location: Germany Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
i hope you mean app _settings_ folder
|
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
app settings or even in the main application folder, anything is better than storing large amounts of data in registry
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
Marcus ![]() Groupie ![]() Joined: 04 June 2006 Location: Germany Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
Standard users don't have write access to the programs folder.
Also the app folder is not part of roaming user profiles.
|
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
you're right, I forgot, because all our apps require admin rights :)
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
See GUI_Visual Studio sample - it shows how save CommandBars and DockingPane state to XML.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
thanks !
but I don't see where it saves the XML file? and you should also add WriteProfileStringXML and GetProfileStringXML
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
See Samples\UserInterface\GUI_VisualStudio\MainFrm.cpp file.
It's not good idea to have WriteProfileStringXML/GetProfileStringXML because in this case on each call you have load whole XML, parse it and save again. Better save and load all settings once.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |