Ver Mensaje Individual
  #1  
Antiguo 02-08-2018
castefo castefo is offline
Miembro
 
Registrado: may 2017
Posts: 13
Reputación: 0
castefo Va por buen camino
Tipar parametros .dll

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

Última edición por dec fecha: 02-08-2018 a las 08:12:01. Razón: Poner etiqueta DELPHI
Responder Con Cita