FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with HB_Crypt - After FWH904
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
Problem with HB_Crypt - After FWH904
Posted: Tue May 05, 2009 03:09 PM

I get this error after I upgraded to FWH904

Error: Unresolved external '_adler32' referenced from C:\XHARBOUR\LIB\RTL.LIB|hbcrypt

The offending code is:
cResult := LEFT( HB_Crypt( UPPER( ALLTRIM( cUserID ) + ALLTRIM( cAccess ) ) + ALLTRIM( cPassword ), 'MyPasskey' ) + SPACE( 30 ), 30 )

Any ideas?

Many thanks

Ollie.



Using:

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)

Borland C++ 5.5.1

FWH 9.04 (2009 Apr)
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problem with HB_Crypt - After FWH904
Posted: Tue May 05, 2009 03:52 PM

Try to link zlib.lib.

EMG

Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
Re: Problem with HB_Crypt - After FWH904
Posted: Tue May 05, 2009 04:27 PM

That did it! Thanks.

Many thanks

Ollie.



Using:

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)

Borland C++ 5.5.1

FWH 9.04 (2009 Apr)

Continue the discussion