Antonio Linares wrote:To create the DEF file, better use Borland:
impdef.exe rchglobe.def rchglobe.dll
and then use Microsoft lib as explained
Ok, the lib is created (but it was with my command too).
Maurizio please try it.
EMG
Antonio Linares wrote:To create the DEF file, better use Borland:
impdef.exe rchglobe.def rchglobe.dll
and then use Microsoft lib as explained
#pragma BEGINDUMP
#include <hbapi.h>
HB_FUNC( RCHSENDDATA )
{
hb_retnl( RCHSendData( hb_parc( 1 ), hb_parc( 2 ) ) );
}
#pragma ENDDUMP
Maurizio wrote:3) DLL FUNCTION RCHSendData(sIn AS STRING ,sOut AS STRING) AS LONG PASCAL FROM "RCHSendData" LIB "RCHGlobe.dll"