Greetings to all,
In the file section, we are using a Check parameter. The function is called from a DLL.
[Files]
Source: "MYPROG.EXE"; DestDir: "{app}"; Check: MyProgCheck
…
Source: MyDll.dll; Flags: dontcopy
It seems that
for Check parameters, we cannot call the external function directly, it has to
be done through an internal function.
The only workaround
we have found includes to call the external function from an internal one.
[Code]
Function IntMyProgCheck: Boolean; External ' MyProgCheck@files:MyDll.dll ';
Function MyProgCheck: Boolean;
Begin
Result := IntMyProgCheck;
End;
It works,
but we were wondering if there is a way to get something like:
[Code]
Function MyProgCheck: Boolean; External 'MyProgCheck@files:MyDll.dll stdcall';
Thank you
in advance
Inno SetUp Compiler 6.2.2