Rebuild of Fivehmx

Rebuild of Fivehmx

Postby Rimantas » Wed Dec 07, 2005 2:24 pm

Hello ! How I can rebuild Fivehmx library . Sorry , but I don't know about settings fro MS VC ++ ver.6 compiler . Here it is a good .bat of building fivehx.lib with Borlans from Enrico . Maybe you know , how to make something similar to MS VC ?
Code: Select all  Expand view
@ ECHO OFF

COPY c:\fwh\source\function\*.prg
COPY c:\fwh\source\winapi\*.prg
COPY c:\fwh\source\classes\*.prg

DEL expbuild.prg
DEL db10.prg
DEL odbc32.prg
DEL dbm.prg
DEL vbxctrl.prg
DEL _index.prg
DEL dbms.prg
DEL ddeserv.prg
DEL field.prg
DEL tnewsins.prg
DEL c3.prg

SET HARBOURCMD=/a /es1 /gc0 /l /m /n /q /w
SET INCLUDE=c:\fwh\include;c:\xhrb\include
FOR %%i IN (*.prg) DO c:\xhrb\bin\harbour %%i
SET HARBOURCMD=
SET INCLUDE=
IF EXIST *.prg DEL *.prg

FOR %%i IN (*.c) DO c:\bcc55\bin\bcc32 +xhrb.cfg -c %%i
IF EXIST *.c DEL *.c

FOR %%i IN (*.obj) DO c:\bcc55\bin\tlib Fivehx /P32 +%%i
c:\bcc55\bin\tlib Fivehx /P32 +c:\fwh\lib\activex.obj
IF EXIST *.obj DEL *.obj
IF EXIST *.bak DEL *.bak

rem IF EXIST fivehx.lib COPY fivehx.lib c:\fwh\lib
rem IF EXIST fivehx.lib DEL fivehx.lib

   


With best regards ! Rimantas .
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Postby Antonio Linares » Wed Dec 07, 2005 6:54 pm

Rimantas,

You may use MSVC this way:

c:\vc\bin\cl -c -TP -Ic:\harbour\include -Ic:\vc\include %%i
...
c:\vc\bin\Lib Fivehmx.lib /OUT:lib\Fivehmx.lib %%i
regards, saludos

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

Postby Rimantas » Wed Dec 07, 2005 7:52 pm

Antonio Linares wrote:Rimantas,

You may use MSVC this way:

c:\vc\bin\cl -c -TP -Ic:\harbour\include -Ic:\vc\include %%i
...
c:\vc\bin\Lib Fivehmx.lib /OUT:lib\Fivehmx.lib %%i


Thank you , Antonio ! I'll try it tomorow .

With best regards ! Rimantas .
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Postby Rimantas » Thu Dec 08, 2005 6:25 pm

Rimantas wrote: Thank you , Antonio ! I'll try it tomorow .

With best regards ! Rimantas .


Antonio , thanks again to you . Your advice works fine , I succesfully recreated fivehmx.lib . :-D

With best regards ! Rimantas
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests