FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Latest Harbour binaries for BCC
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Latest Harbour binaries for BCC
Posted: Sun Oct 11, 2015 02:56 PM

Dear friends,

I'm searching for the latest Harbour binaries for BCC but I can't find it. Anybody can provide a link, please?

EMG

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Latest Harbour binaries for BCC
Posted: Sun Oct 11, 2015 03:08 PM
Unfortunately I get this:

Code (fw): Select all Collapse
Error: Unresolved external '_HB_FUN_HB_GETFILESINZIP' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPOPEN' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEFIRST' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEINFO' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEOPEN' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILEREAD' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILECLOSE' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPFILENEXT' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HB_UNZIPCLOSE' referenced from E:\FWHARBOUR\LIB\FIVEH.LIB|OLEFUNCS


:-)

EMG
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Latest Harbour binaries for BCC
Posted: Sun Oct 11, 2015 03:15 PM
Ok, never mind, it works. But why I'm getting

Code (fw): Select all Collapse
XMLENCODE.prg(11) Error E0002  Redefinition of procedure or function 'XMLENCODE'


from the following sample?

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

    ? XMLENCODE( [<>&'"] )

    RETURN NIL


STATIC FUNCTION XMLENCODE( cXml )

    LOCAL cEnc := ""

    LOCAL cChr

    LOCAL i

    FOR i = 1 TO LEN( cXml )
        cChr = SUBSTR( cXml, i, 1 )

        DO CASE
            CASE cChr = "<"
                cEnc += "<"
            CASE cChr = ">"
                cEnc += ">"
            CASE cChr = "&"
                cEnc += "&amp;"
            CASE cChr = "'"
                cEnc += "&apos;"
            CASE cChr = ["]
                cEnc += "&quot;"
            OTHERWISE
                cEnc += cChr
        ENDCASE
    NEXT

    RETURN cEnc


EMG

Continue the discussion