Antonio Linares wrote:Maurizio,
Try it this way:
c:\vce\bin\link /IMPLIB:rchglobe.dll /OUT:rchglobe.lib
Microsoft (R) Incremental Linker Version 6.24.3077
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
LINK : fatal error LNK1561: entry point must be defined
Antonio Linares wrote:To create the DEF file, better use Borland:
impdef.exe rchglobe.def rchglobe.dll
and then use Microsoft lib as explained
Antonio Linares wrote:Enrico,
ops, I missed your command
extern "C" {
LONG RCHSendData( LPSTR, LPSTR );
LONG RCHOpen( void );
LONG RCHClose( void );
}
// int RCHOpen( void ); this!
HB_FUNC( RCHOpen )
{
hb_retnl( RCHOpen() );
}
// int RCHOpen( void ); this!
HB_FUNC( RCHOClose )
{
hb_retnl( RCHOpen() );
}
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 3 guests