Jump to content

Loading an INI-file from a resource, and then parsing it


Go to solution Solved by SmOke_N,

Recommended Posts

So, apparently, ResourcesEX contains a relevant example:

; String resources.
#AutoIt3Wrapper_Res_File_Add=string_1.ini, RT_STRING

And I'm sure it'll work just fine, however, none of the available APIs support parsing an INI from a string rather than a file. I don't want to extract the ini to disk, otherwise it would have been easy, of course. ;) 

I've searched the forum, no success. Any tips or tricks before I start writing my own parser?

Link to comment
Share on other sites

  • Moderators
  • Solution

I've written one that I haven't maintained in years, but I know others have as well.

Here is mine:
But Azio's is probably better maintained:

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...