![]() |
feature suggestion |
Post Reply
|
| Author | |
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Topic: feature suggestionPosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 November 2009 at 4:25am |
|
i hope you mean app _settings_ folder
|
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 November 2009 at 5:16am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 November 2009 at 1:41pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 November 2009 at 7:46pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2009 at 4:45am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2009 at 12:10pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 December 2009 at 4:32am |
|
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 |