corrupt library

Post Reply
User avatar
Dietmar Jahnel
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria
Contact:

corrupt library

Post by Dietmar Jahnel »

Just tried to update an existing application to FWH 14.3 with xHB (January 2014)
Now I'm getting this:
xLINK: fatal error: Corrupt library: 'C:\fwh\lib\libmysql.lib'.

What can be done?
thanks for help!
Dietmar
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: corrupt library

Post by Antonio Linares »

Dietmar,

Surely you are not using a MSVC 98 (this is compatible with xhb.com) library.

You may need to create the import library from its DLL using VC98 implib.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Dietmar Jahnel
Posts: 83
Joined: Mon Oct 17, 2005 10:33 am
Location: Austria
Contact:

Re: corrupt library

Post by Dietmar Jahnel »

Surely you are not using a MSVC 98 (this is compatible with xhb.com) library.

- I just installed FWH 14.3 and the libs that came with this build. Changed nothing (just tried again).

You may need to create the import library from its DLL using VC98 implib.exe

- Does this mean FHW is not compatible with xhb any more? Not really, i hope :)
Can you please send me a compatible libmysql.lib.
Thanks,
Dietmar
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: corrupt library

Post by Antonio Linares »

Dietmar,

You can easily build it yourself:

1. Download libmysql.dll from here:
http://www.sitasoft.net/dolphin/files/libmysql_dll.zip

2. Use Microsoft VC98 implib32.exe to create mysqldll.lib from it

3. xHb.com uses PellesC which it is only compatible with Microsoft VC 98. If you have PellesC, please check if it provides an implib.exe tool

4. FWH remains fully compatible with xHB.com. Surely you are using a wrong libmysql.lib

5. Please seriously consider to migrate to Harbour and stop depending from a very old Microsoft C compiler version (cause xHb.com) :-)
regards, saludos

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

Re: corrupt library

Post by Antonio Linares »

Dietmar,

This one should work fine, I just created it for you :-)

https://bitbucket.org/fivetech/fivewin- ... hb.com.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply