FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Unresolved external LoadLibrary() in Harbour 3
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Unresolved external LoadLibrary() in Harbour 3
Posted: Thu Sep 15, 2011 08: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

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Thu Sep 15, 2011 09:11 AM

Hua,

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

// #if defined( _WIN64 )

and

// #endif

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Thu Sep 15, 2011 09:45 AM

Thanks Antonio. That fixed it.

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Unresolved external LoadLibrary() in Harbour
Posted: 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.






regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Sat Sep 24, 2011 08:25 PM
Antonio, I got a warning when I try replacing legacy??.obj in the lib
Code (fw): Select all Collapse
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Sat Sep 24, 2011 08: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
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Sat Sep 24, 2011 09: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
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Unresolved external LoadLibrary() in Harbour
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Sun Sep 25, 2011 01:48 PM

Already sent :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Unresolved external LoadLibrary() in Harbour
Posted: Sun Sep 25, 2011 01:51 PM

Thanks Antonio. You've been very helpful.

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion