función o similar hb_Dyn_Call()

función o similar hb_Dyn_Call()

Postby Ari » Thu Sep 26, 2019 5:17 pm

Colegas,

Hay la misma función o similar en xHarbour que hb_DynCall () de Harbour ?

Gracias
Ari
Thanks,
Ari

FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
User avatar
Ari
 
Posts: 234
Joined: Fri Feb 03, 2006 4:21 pm
Location: São Paulo, SP - Brazil

Re: función o similar hb_Dyn_Call()

Postby Enrico Maria Giordano » Fri Sep 27, 2019 10:11 am

I can't find the string "dyncall" in the xHarbour SVN. What is it for?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: función o similar hb_Dyn_Call()

Postby Ari » Fri Sep 27, 2019 12:17 pm

Enrico,

The hb_DynCall () function is for calling functions in Harbour DLLs, I think in xharbour I should use DllCall () or CallDll ().

I received an answer in the topic Retorno da Chamada DLL and there use this function hb_DynCall () as below one of the functions:

Code: Select all  Expand view  RUN

function mysql_close( hMySql )
 
 if !empty( pLib )
    hb_DynCall( { "mysql_close", pLib, HB_DYN_CALLCONV_CDECL, ;
                                     HB_DYN_CTYPE_LONG_UNSIGNED }, hMySql )
endif
 
return nil
 



Ari
Thanks,
Ari

FWH 2212 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
User avatar
Ari
 
Posts: 234
Joined: Fri Feb 03, 2006 4:21 pm
Location: São Paulo, SP - Brazil

Re: función o similar hb_Dyn_Call()

Postby Enrico Maria Giordano » Fri Sep 27, 2019 12:23 pm

Both DllCall() and CallDll() are in the xHarbour SVN. I never used them, sorry.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests