When I run my app on a network writing to the ini file triggeres madexcept even though I have used try/except.
This is my code:
Code: Select all
Ini := TIniFile.Create(ExtractFilePath(Application.ExeName)+'config.ini');
try
ini.writestring('Data',name',form1.cmbRoom.Text);
ini.writestring('setup','memory',value);
finally
Ini.Free;
end;
Thanks
Pete