Estoy intentando usar esta .dll pero no se como tipar el primer parametro de la siguiente funcion:
Código Delphi
[-]
var
handleDll : THandle;
function sessionOption(tipoftp:??? ; host,usr,pass:string ):boolean;
begin
handleDll := LoadLibrary('WinSCPnet.dll');
if (handleDll <> 0) then
begin
SessionOtion := GetProcAddress(handleDll, 'SessionOption');
SessionOption( protocol.ftp, edhos.text , edusr.text , espas.text)
Como se debe codificar en estos casos
Gracias