Invocar un dll desde fivewin

Invocar un dll desde fivewin

Postby Vladimir Zorrilla » Wed Nov 16, 2011 3:31 pm

Amigos

Como se invoca a un dll desde fivewin

Me han dado unas indicaciones de como declarar la funcion pero en Visual Basic
Si alguien me puedo dar una mano le estaria eternamente agradecido.

Aqui esta segun las indicaciones la forma de usarlo en Visual Basic


Declare Function recivMSG2 Lib "Correo.dll" (ByVal c_pathMBOX As String, ByVal c_pathREC As String, ByVal n_CRITER As Integer, ByVal c_KEY As String) As Integer



Cual seria su equivalente en FiveWin

Mil Gracias

Vladimir Zorrilla Llerena
ME INTERESA FW Y XHB POR SER OPEN SOURCE
Vladimir Zorrilla
 
Posts: 225
Joined: Tue Feb 28, 2006 4:25 pm
Location: PERU

Re: Invocar un dll desde fivewin

Postby carlos vargas » Wed Nov 16, 2011 10:03 pm

bueno aca lo ideal es hacer un
impdef correo.def correo.dll
y ver en el def creado el nombre de la funcion con su dentificado.

Code: Select all  Expand view

DLL32 FUNCTION FUN_RECIVMSG2( cPathMBox AS LPSTR, cPathRec AS LPSTR, n_CRITER AS INTEGER, c_KEY AS LPSTR) AS INTEGER ;
   PASCAL FROM  "recivMSG2" LIB "Correo.dll"

or

DLL32 FUNCTION FUN_RECIVMSG2( cPathMBox AS LPSTR, cPathRec AS LPSTR, n_CRITER AS INTEGER, c_KEY AS LPSTR) AS INTEGER ;
   PASCAL FROM  "recivMSG2@9999" LIB "Correo.dll"

 

donde 9999 es el identificador de la funcion en def creado.

salu2
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1688
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Invocar un dll desde fivewin

Postby Vladimir Zorrilla » Thu Nov 17, 2011 8:39 pm

Gracias por contestar pero sale que no existe la variable INTEGER


Agradecido de antemano
ME INTERESA FW Y XHB POR SER OPEN SOURCE
Vladimir Zorrilla
 
Posts: 225
Joined: Tue Feb 28, 2006 4:25 pm
Location: PERU


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests