![]() |
Write on an ini file
Using Inno Setup Compiler I have added a screen with the various components, I should read the content that is inserted into a textbox and write it in an ini file.
Same thing with the combobox component. I added the section Code: [Ini] Filename: {app} \ fileProva.ini; Section: prova1; Key: nomeTextBox1 Filename: {app} \ fileProva.ini; Section: Prova2; Key: nomeTextBox2 Is that okay? Or should I add something else? |
function GetIniBool(const Section, Key: String; const: Boolean; const Filename: String): Boolean;
function GetIniInt(const Section, Key: String; const Default, Min, Max: Longint; const Filename: String): Longint; function GetIniString(const Section, Key, Default, Filename: String): String; Code:
|
function SetIniBool(const Section, Key: String; const Value: Boolean; const Filename: String): Boolean;
function SetIniInt(const Section, Key: String; const Value: Longint; const Filename: String): Boolean; function SetIniString(const Section, Key, Value, Filename: String): Boolean; Code:
[Setup] |
Sorry for the response delay.
Thanks for the help, I will try to figure out how it works. |
| All times are GMT -7. The time now is 20:24. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com