Segun manual es:
VARIANT_BOOL Conectar( [in] BSTR IPAdd, [in] long Portl)
Deberia hacerlo asi ?
DLL FUNCTION Conectar( IPAdd AS LPSTR, Portl AS LONG ) AS BOOL PASCAL LIB "xxxxxx.dll"
Mi codigo es este...
PUBLIC hDLL := LoadLibrary("xxxxxx.dll")
lReturn:=Conectar("192.168.1.1",9999)
MsgInfo( lReturn )
FreeLibrary( hDLL )
Pero siempre obtengo NIL, no .T. o .F. como espero
Cualquier ayuda sera bienvenida.
Desde Chile
Adolfo
VARIANT_BOOL Conectar( [in] BSTR IPAdd, [in] long Portl)
Deberia hacerlo asi ?
DLL FUNCTION Conectar( IPAdd AS LPSTR, Portl AS LONG ) AS BOOL PASCAL LIB "xxxxxx.dll"
Mi codigo es este...
PUBLIC hDLL := LoadLibrary("xxxxxx.dll")
lReturn:=Conectar("192.168.1.1",9999)
MsgInfo( lReturn )
FreeLibrary( hDLL )
Pero siempre obtengo NIL, no .T. o .F. como espero
Cualquier ayuda sera bienvenida.
Desde Chile
Adolfo
;-) Ji,ji,ji... buena la cosa... "all you need is code"
http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650