Archive: How to read a string value in an ini file?


Is it possible to read the value of an ini string? I would like to obtain the value of data as in

[program]
data=f:\myprogram\data


ReadINIStr $0 "C:\YOUR_INI_LOCATION\NAME.ini" "program" "data"

Now you have the value "f:\myprogram\data" in $0.


Thanks for replying, I was able to figure it out some time ago. Anyways, someone else can always benefit from your post.