Jump to content

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

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?

Share this post

Link to post
Share on other sites

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:
  • Like 1

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.

Share this post

Link to post
Share on other sites

will have to be faster and more accurate about special caracter as NULL or VT or FF etc must be full compaibile with AutoIt Registry Function etc etc 


Edited by DXRW4E

apps-odrive.pngdrive_app_badge.png box-logo.png new_logo.png MEGA_Logo.png

Share this post

Link to post
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