Jump to content

Application Initialization ... how best to do it


Recommended Posts

Hi,

I have created an application that will become an executeable. I currently have 8 sets of values that I would like to put in an init file, and loaded each time the exe runs. I would like it to be a textfile, so it could easily be edited by the user, but that is not a requirement at this time. The main thing is that the user can change any of these values and have them restored after a restart.

I currently have the following to init:

A small tab delimited text file

Two path statements

A small integer array

A small floating point array

A boolean

Two single integers

I would like to know what is commonly done for init files, and how best to do this one. My ideas so far are messy. :-)

I can change the application to suit, no restrictions there that I know of. It is a custom monitor and logging app.

I did a search of this part of the forum, but did not see anything pertinent. This seems like the place it should be.?

Fred

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.