Search found 10 matches: rchglobe

Return to advanced search

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
by Enrico Maria Giordano
Mon Nov 20, 2006 10:02 am
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

To create the DEF file, better use Borland:

impdef.exe rchglobe.def rchglobe.dll

and then use Microsoft lib as explained
by Antonio Linares
Mon Nov 20, 2006 9:53 am
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

The above was wrong. This should be the right way:

c:\vce\bin\lib /list:rchglobe.def rchglobe.dll

c:\vce\bin\lib /def:rchglobe.def /out:rchglobe.lib /machine:arm /subsystem:windowsce
by Antonio Linares
Mon Nov 20, 2006 9:49 am
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

Maurizio, Try it this way: c:\vce\bin\link /IMPLIB:rchglobe.dll /OUT:rchglobe.lib This is the result: Microsoft (R) Incremental Linker Version 6.24.3077 Copyright (C) Microsoft Corporation. All rights reserved. LINK : warning LNK4001: no object files ...
by Enrico Maria Giordano
Mon Nov 20, 2006 9:43 am
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

Maurizio,

Try it this way:

c:\vce\bin\link /IMPLIB:rchglobe.dll /OUT:rchglobe.lib
by Antonio Linares
Mon Nov 20, 2006 9:34 am
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

... this command , but it dosnt work. c:\vce\bin\link corelibc.lib /LIBPATH:c:\vce\lib\arm /NOLOGO /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:ARM /DLL /IMPLIB:rchglobe.dll /OUT:rchglobe.lib Regards MAurizio
by Maurizio
Mon Nov 20, 2006 7:19 am
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

Antonio

I Try

implib.exe RCHGlobe.lib RCHGlobe.DLL
and I have the LIB

but when I link RCHGlobe.lib i had
c:\harbour_ce\lib\RCHglobe.lib : fatal error LNK1136: invalid or corrupt file

Maurizio
by Maurizio
Sat Nov 18, 2006 1:20 pm
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

Code: Select all  Expand view
#pragma BEGINDUMP

#include <hbapi.h>

HB_FUNC( RCHSENDDATA )
{
   hb_retnl( RCHSendData( hb_parc( 1 ), hb_parc( 2 ) ) );
}

#pragma ENDDUMP

You need to link RCHGlobe.lib.
by Antonio Linares
Sat Nov 18, 2006 12:52 pm
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

Re: DLL

Maurizio wrote:3) DLL FUNCTION RCHSendData(sIn AS STRING ,sOut AS STRING) AS LONG PASCAL FROM "RCHSendData" LIB "RCHGlobe.dll"


Try AS LPSTR instead of the two AS STRING.

EMG
by Enrico Maria Giordano
Fri Nov 17, 2006 4:27 pm
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

DLL

... The program works very well. Now I have to link with a DLL , I need only 3 functions 1) DLL FUNCTION RCHOpen() AS LONG PASCAL FROM "RCHOpen" LIB "RCHGlobe.dll" 2) DLL FUNCTION RCHClose() AS LONG PASCAL FROM "RCHClose" LIB "RCHGlobe.dll" This 2 functions works and return correctly 0 3) DLL FUNCTION ...
by Maurizio
Fri Nov 17, 2006 3:27 pm
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97786

Return to advanced search