función o similar hb_Dyn_Call()

Post Reply
User avatar
Ari
Posts: 128
Joined: Fri Feb 03, 2006 4:21 pm
Location: Brazil
Contact:

función o similar hb_Dyn_Call()

Post by Ari »

Colegas,

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

Gracias
Ari
User avatar
Ari
Posts: 128
Joined: Fri Feb 03, 2006 4:21 pm
Location: Brazil
Contact:

Re: función o similar hb_Dyn_Call()

Post by Ari »

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

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
Post Reply