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   |
|
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 ) 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 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sat Jun 21 20:16:09 CEST 2025
Total time taken to generate the page: 0.03954 seconds
|