FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Recompilar Lib
Posts: 32
Joined: Thu Sep 20, 2012 07:29 PM
Recompilar Lib
Posted: Mon Sep 23, 2013 04:48 PM

Good afternoon person asked that question a few months ago but got no success. I have to recompile the lib FW? because I would like to make some changes in classes such as some of the xBrowse's Default. I ask this not to have the need to make the desired change and then have q add prg class in proejto. I appreciate everyone's attention.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 05:45 PM
Arthur,

Run this batch file from source\function, source\classes and source\winapi
Code (fw): Select all Collapse
for %%f in (*.prg) do c:\harbour\bin\harbour %%f /n /ic:\fwh\include;c:\harbour\include
for %%f in (*.c) do c:\bcc582\bin\bcc32 -c -Ic:\bcc582\include;c:\harbour\include %%f
for %%f in (*.obj) do c:\bcc582\bin\tlib fiveh.lib -+ %%f /0 /P32,,
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 32
Joined: Thu Sep 20, 2012 07:29 PM
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 06:54 PM
The same procedure applies to xHarbour? I'm trying and I can not. I think I'm doing something wrong.

this bat file in the folder 'c: \ FWH \ source' (Exactly where are the folders classes, and winapi function).

to run it it displays the following error:



If I put the bat in one of the source folders it will generate a lib with 2.00kb in size, where the 'original' is to 2.6kb.

I'm doing some wrong procedure?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 07:23 PM

Please run your batch file from:

FWH\source\classes
FWH\source\function
FWH\source\winapi

Don't erase the original FWH libraries, as they have to be reused (some inner modules can't be rebuilt)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 32
Joined: Thu Sep 20, 2012 07:29 PM
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 07:36 PM

So just to confirm, or where it is written 'fivehx.lib' I must put the right directory? that would be 'c: \ Fwh.13.06 \ lib \ Fivehx.lib' or should remain as it is?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Recompilar Lib
Posted: Mon Sep 23, 2013 08:54 PM

You can create it in any place and then later copy it to c:/FWH/lib folder

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 32
Joined: Thu Sep 20, 2012 07:29 PM
Re: Recompilar Lib
Posted: Tue Sep 24, 2013 11:37 AM

I'm not getting antonio, but I appreciate the help and attention. I'll leave that for a future.

Continue the discussion