Unresolved external LoadLibrary() in Harbour 3

Unresolved external LoadLibrary() in Harbour 3

Postby hua » Thu Sep 15, 2011 8:40 am

Hi guys,
I'm trying to compile using BCC+Harbour 17038 from SVN but I get an 'unresolved external Freelibrary()/LoadLibrary() ' error message. What lib could I be missing?

TIA
Last edited by hua on Tue Sep 27, 2011 2:34 am, edited 1 time in total.
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Unresolved external LoadLibrary() in Harbour

Postby Antonio Linares » Thu Sep 15, 2011 9:11 am

Hua,

Please remove in fwh\source\winapi\dll.c:

// #if defined( _WIN64 )

and

// #endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unresolved external LoadLibrary() in Harbour

Postby hua » Thu Sep 15, 2011 9:45 am

Thanks Antonio. That fixed it.
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Unresolved external LoadLibrary() in Harbour

Postby Antonio Linares » Thu Sep 15, 2011 10:45 am

Hua,

There are some more required changes to get full compatibility with the most recent Harbour SVN version:

1. Discard the previous fix that I commented you.

2.
Image

Image

Image

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unresolved external LoadLibrary() in Harbour

Postby hua » Sat Sep 24, 2011 8:25 pm

Antonio, I got a warning when I try replacing legacy??.obj in the lib
Code: Select all  Expand view

D:\fwh\lib>tlib fivehc -+legacycd.obj
TLIB 4.5 Copyright (c) 1987, 1998 Borland International
Warning: public '_HB_FUN_GETLASTERROR' in module 'legacycd' clashes with prior module 'WEBCAM'

D:\fwh\lib>tlib fivehc -+legacyco.obj
TLIB 4.5 Copyright (c) 1987, 1998 Borland International
Warning: public '_HB_FUN_GETLASTERROR' in module 'legacycd' clashes with prior module 'WEBCAM'

D:\fwh\lib>tlib fivehc -+legacycp.obj
TLIB 4.5 Copyright (c) 1987, 1998 Borland International
Warning: public '_HB_FUN_GETLASTERROR' in module 'legacycd' clashes with prior module 'WEBCAM' 
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Unresolved external LoadLibrary() in Harbour

Postby Antonio Linares » Sat Sep 24, 2011 8:35 pm

Hua,

We have reorganized the code in legacy.prg and now it is fine. Basically we have moved the C modules inside a #pragma BEGINDUMP inside the legacy.prg as there were conflicts with xHarbour. Now it is ok :-)

Do you want me to email you the libs to test them ? For what C compiler ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unresolved external LoadLibrary() in Harbour

Postby hua » Sat Sep 24, 2011 9:11 pm

Yes please :). BCC is my safety net while I try to move to hbmk2 + harbour + mingW. If it's of no trouble could I have libs for both BCC and MingW please?

Thanks again Antonio. Appreciate it very much :)
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Unresolved external LoadLibrary() in Harbour

Postby hua » Sun Sep 25, 2011 10:03 am

Antonio, you can email the libs to hua.bassupport @ gmail.com whenever the libs are ready


TQVM :)
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Unresolved external LoadLibrary() in Harbour

Postby Antonio Linares » Sun Sep 25, 2011 1:48 pm

Already sent :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unresolved external LoadLibrary() in Harbour

Postby hua » Sun Sep 25, 2011 1:51 pm

Thanks Antonio. You've been very helpful.
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Silvio.Falconi and 97 guests