Page 1 of 1

MemIni unit cannot find unit Dialogs

Posted: Fri Aug 25, 2023 10:49 am
by Malcolm
Using v 7.9.5.2 with an Android project.

I have declared a local var as
Ini: TIniFile;
then used it as:
Ini := TIniFile.Create(System.IOUtils.TPath.Combine(System.IOUtils.TPath.GetDocumentsPath,
'arefsettings.ini'));
...

So my unit uses: System.IniFiles, System.IOUtils, FMX.Dialogs and SiComp

But a compile or build throws up the error:
[DCC Fatal Error] Memini.pas(171): F2613 Unit 'Dialogs' not found.

What have I missed?

Re: MemIni unit cannot find unit Dialogs

Posted: Fri Aug 25, 2023 12:14 pm
by isiticov
Hi Malcolm!

Please just remove Dialogs from MemIni.pas. Sorry for this. Or you can use pre-built DCUs for Android. But deleting Dialogs reference will be better I believe.

Re: MemIni unit cannot find unit Dialogs

Posted: Fri Aug 25, 2023 5:11 pm
by Malcolm
Hi Igor,
Thanks, that (deleting Dialogs) solves the Memini.pas error.
Now for the other (non SiComponents) issues. :D

Malcolm