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 » Community » Newbie corner » Initial settings for U++ application
Re: Initial settings for U++ application [message #27285 is a reply to message #27282] Sun, 11 July 2010 01:05 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi,

There is many options. All you have named and even more, though I would not recommend some of them (I really don't like apps which store their settings in windows registry Smile ) Anyway, you can choose whatever format you like. One more option is to use Serialize() methods to create binary configuration file.

One useful function you might want to know about (if you don't) is ConfigFile(). That will help you to determine the correct location.

For complex solution you can have a look at theide. Search for RegisterWorkspaceConfig, SerializeWorkspaceConfigs and sWorkspaceCfg.

In my opinion, for simple apps, with low and fixed number of options, the best solution is simple text file. Something like ini, or even simpler.

When you choose the format, we can help you in greater detail Wink

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: smoother drawing
Next Topic: is U++ the right tool for this?
Goto Forum:
  


Current Time: Sat Jun 21 22:08:18 CEST 2025

Total time taken to generate the page: 0.06339 seconds