Jump to content

Search the Community

Showing results for tags 'resources settings storing'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I'm developing a program that should be as small and not extensive as possible and also fully portable, however, it contains many resource files, settings etc.. So I've had to make an external file that would store all these data. I was thinking about a dll file, but as far as I know it can store only icons, I took under consideration also WinAPI resources, but I excluded this way, because I want to be able to manage my resources even without recompiling the source. Finally I ended up with SQLite database. I use external database file secured with AES and sqlite.dll included in binary in my source. The process is then like this: the program loads dll library to memory, decrypts the database file to a temporary location, loads it to memory, deletes it from the temporary location and loads all resource files saved as binary in the database to controls in GUI or makes temporary files from them. It can also read and write settings, strings for UI and anything else saved in the database. When the program exits it flushes the databse from memory to disk, encrypts it and replaces the old one. The cons of this solution are: I have to load the database to the memory and keep it there until the program exits, the database is unsecured for about one or two seconds everytime when the program loads/unloads the database to/from memory. So I'm asking, are there any better solutions for storing these kinds of data and that would suit my conditions or at least a way to load only a part of the database?
×
×
  • Create New...