另类调用DLL

WllibCall.inc
stdcall;
{$IFNDEF DLLWLLib}
external 'wllib.dll';
{$ENDIF}

......

function Cpl(PSrc: PChar; len: integer; PDest: PChar): PChar; {$I 'WllibCall.inc'}

原文地址:https://www.cnblogs.com/hnxxcxg/p/2940811.html