Search code examples
delphiwin64

AsyncPro and 64bit


I am running Delphi XE8 and have the GetIt AsyncPro for VCL 1.0 installed. It works fine when I compile my application for 32 bit but fails for 64 bit. The failure is:

[dcc64 Error] OoMisc.pas(2771): E2065 Unsatisfied forward or external declaration: 'Trim'

When I open OoMisc.pas is see:

{$IFNDEF Win32}
function Trim(const S : string) : string;
{$ENDIF}

The Trim function does not seem to be defined. The unit does have SysUtils in its uses clause.


Solution

  • I bet that is a relic from Delphi 1 when Win32 was used to distinguish from Win16. You may safely remove those lines.