В примере на C++ функция выглядит так :
DLL_Func(LPSTR IP);
...
cas_Func=(DLL_Func *)GetProcAddress(m_hDll,"Func");
Я делал так:
TFuncPar = function (S:PChar): integer;
....
Func: TFuncPar;
....
var ip: PChar;
Func:=GetProcAddress(Handle,'Func');
ip:='192.168.0.101';
status:=Func(ip);
|