I am tryin gto write a DLL using Delphi XE2.
The uses clause contain
SysUtils, Classes, Dialogs;
The Dialogs statement is not recognised by Delphi. Moving the mouse over Dialogs, generates a hint "Cannot resolve unit name 'Dialogs'.
On compiling the following Error is generated.
[dcc32 Fatal Error] SIDDLLLib.dpr(14): F1026 File not found: 'C:\Site Designer IV\DLLLib\Dialogs.dcu'
Adding FMX.Dialogs gets a perfect compile but calling the DLL from my main program, generates the Error:
Access violation at address 01974FA7 in module 'MyTestDLL.dll'. Write of address 00000000.
Can anyone direct me in the right direction, please.