FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How can recompile FW libraries?
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 07:43 AM

Mosh,

Why do you need to rebuild the libraries ? :-)

Remove those PRGs. clipzip* is for Clipper, not for Harbour.

What Harbour version are you using to compile ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 02:56 PM
Antonio Linares wrote:Mosh,
Why do you need to rebuild the libraries ? :-)


Module:"ACTIVEX.PRG' was compiled into PCODE version: 7,this version of
xHarbour expects verson 10


Antonio Linares wrote:
What Harbour version are you using to compile ?



xHarbour 1.2.1 build 6733
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 02:58 PM

Mosh,

Simply compile activex.prg and link the resulting OBJ as another OBJ of your EXE :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 07:27 PM
Antonio Linares wrote:Mosh,

Simply compile activex.prg and link the resulting OBJ as another OBJ of your EXE :-)



Will try.

Can I ask a question : which version of Harbour or xHarbour is supposed to work with FWH?
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 07:39 PM
Mosh,

We use the most recent builds. You can download them from:

http://code.google.com/p/harbour-and-xharbour-builds/
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 10:03 PM
Antonio Linares wrote:Mosh,

We use the most recent builds. You can download them from:

http://code.google.com/p/harbour-and-xharbour-builds/


Downloaded recent build - and get same error : :-)

Module:"ACTIVEX.PRG' was compiled into PCODE version: 7,this version of
xHarbour expects verson 10
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: How can recompile FW libraries?

Posted: Tue Oct 11, 2011 11:22 PM

Mosh,

Use xHarbour to compile activex.prg:

harbour.exe activex.prg /n /i...

Then call bcc32.exe to create the OBJ:

bcc32.exe -c -I... activex.c

Then link the resulting activex.obj to your app, as another OBJ. It will take precedence over the one included in FiveH.lib

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: How can recompile FW libraries?

Posted: Wed Oct 12, 2011 12:27 AM
Antonio Linares wrote:Mosh,

Use xHarbour to compile activex.prg:

harbour.exe activex.prg /n /i...

Then call bcc32.exe to create the OBJ:

bcc32.exe -c -I... activex.c

Then link the resulting activex.obj to your app, as another OBJ. It will take precedence over the one included in FiveH.lib


I tryed and it helps...for acvitex.prg, that is. But then it says the same about next file and so on :

I added :

alert.prg
bar.prg
bitmap.prg
brush.prg
button.prg
clipbrd.prg
cursor.prg
dde.prg
dlgfind.prg
errsysw.prg
filename.prg
font.prg
icon.prg
image.prg
ini.prg
fwerror.prg
harbour.prg
getsysin.prg
gettasks.prg

Here I stopped...

So the question is : where is the right version of FWH ?
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: How can recompile FW libraries?

Posted: Wed Oct 12, 2011 07:06 AM

Mosh,

FWH current version is 11.09 and you can order it from www.fivetechsoft.com purchase section, as it is a commercial product.

FWH 6.12 is a very old version back from 2006. We provide it for free so it can be tested, but if you plan to use it professionally then we advise to use 11.09

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion