Page 1 of 1

xMate y Microsoft Visual Studio 2008 ??

Posted: Tue Aug 09, 2011 1:11 am
by gabo
Hola.. estimado foro..
Estoy tratando de pasarme a Harbour + MsVS 2008. he visto entornos con HbIde. pero sinceramente lo encuentro muy complicado. para mi es mas practico y sencillo xMate. alguien que me pueda apoyar con un archivo ENV para xmate.
Saludos
GABO

Re: xMate y Microsoft Visual Studio 2008 ??

Posted: Tue Aug 09, 2011 1:05 pm
by Rick Lipkin
Gabo

Don't know if this will help you but this is the MVSC xMate environment for the 2003 toolkit. I have no idea if there needs to be any adjustments made to add or delete any lib's .. but this should be a good start ..

Copy and paste this into a .env file, make any appropriate changes to the paths and put in your xMate folder ..

Rick Lipkin

Code: Select all


[Environment]
Description 1=With many thanks to Andy .. we finally got a good
Description 2=working MSVC environment !!  Includes the new
Description 3=xHarbour libs hbsix and pcrepos
PRG Compiler ver=xHarbour 99.51
C compiler ver=MSVC 2003 Toolkit
Subsystem=FWH28
Author=Richard Lipkin
Last update=11/06/2006

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=C:\XHARBOUR
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL% /d__EXPORT__
Option prefix=/

[C]
C_INSTALL=C:\MSVC
C_COMP_COMMAND="%C_BIN_INSTALL%\cl.exe" -c -TP -W3 -nologo  -I"%C_INC_INSTALL%" /I%HB_INC_INSTALL%   -Fo%OBJ% %C%
C_LIB_COMMAND=%C_BIN_INSTALL%\LIB.Exe /OUT:%LIB%  @%RSP% /LIST >%LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\LINK.Exe /subsystem:WINDOWS /FORCE:MULTIPLE%CRLF% /LIBPATH:%C_LIB_INSTALL% @%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\RC.Exe -r  -fo%RES%  %RC%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%HB_LIB_INSTALL%\dbfcdx.lib=1
%HB_LIB_INSTALL%\dbffpt.lib=2
%HB_LIB_INSTALL%\lang.lib=3
%HB_LIB_INSTALL%\vm.lib=4
%HB_LIB_INSTALL%\rtl.lib=5
%HB_LIB_INSTALL%\rdd.lib=6
%HB_LIB_INSTALL%\macro.lib=7
%HB_LIB_INSTALL%\pp.lib=8
%HB_LIB_INSTALL%\dbfntx.lib=9
%HB_LIB_INSTALL%\common.lib=10
%HB_LIB_INSTALL%\gtwin.lib=11
%HB_LIB_INSTALL%\codepage.lib=12
%HB_LIB_INSTALL%\pcrepos.lib=13
%HB_LIB_INSTALL%\hbsix.lib=14
C:\FWH28\LIB\Fivehmx.lib=15
C:\FWH28\LIB\Fivehcm.lib=16
%C_LIB_INSTALL%\kernel32.lib=17
%C_LIB_INSTALL%\Mpr.Lib=18
%C_LIB_INSTALL%\Ole32.Lib=19
%C_LIB_INSTALL%\Shell32.Lib=20
%C_LIB_INSTALL%\User32.Lib=21
%C_LIB_INSTALL%\WinMM.Lib=22
%C_LIB_INSTALL%\WinSpool.Lib=23
%C_LIB_INSTALL%\AdvAPI32.Lib=24
%C_LIB_INSTALL%\ComCtl32.Lib=25
%C_LIB_INSTALL%\ComDlg32.Lib=26
%C_LIB_INSTALL%\Gdi32.Lib=27

 

Re: xMate y Microsoft Visual Studio 2008 ??

Posted: Wed Aug 10, 2011 6:52 pm
by gabo
Hi Rick
Thank, Here this file ENV and work fine

Code: Select all

HB_INSTALL=E:\harbour
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /w1 /es2 /a /v /i%HB_INC_INSTALL%
Option prefix=/

[C]
C_INSTALL=E:\MVS2008
C_COMP_COMMAND=%C_BIN_INSTALL%\cl.Exe -c -TP -W3 -GA -I%HB_INC_INSTALL%;%C_INC_INSTALL% %CRLF%%HOME%\Obj %C%%CRLF%
C_LIB_COMMAND=
C_LINK_COMMAND=%C_BIN_INSTALL%\link.Exe @%LNK% /NODEFAULTLIB:LIBC.LIB /nologo /subsystem:windows /force:multiple
C_RC_COMMAND=%C_BIN_INSTALL%\RC.EXE -r -d__FLAT__ %RC%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%HB_INSTALL%\examples\gtwvw\lib\win\msvc\gtwvw.lib=1
%HB_LIB_INSTALL%\win\msvc\hbrtl.lib=2
%HB_LIB_INSTALL%\win\msvc\hbvm.lib=3
%HB_LIB_INSTALL%\win\msvc\gtgui.lib=4
%HB_LIB_INSTALL%\win\msvc\hblang.lib=5
%HB_LIB_INSTALL%\win\msvc\hbmacro.lib=6
%HB_LIB_INSTALL%\win\msvc\rddcdx.lib=7
%HB_LIB_INSTALL%\win\msvc\rddfpt.lib=8
%HB_LIB_INSTALL%\win\msvc\hbcommon.lib=9
%HB_LIB_INSTALL%\win\msvc\hbpp.lib=10
%HB_LIB_INSTALL%\win\msvc\hbcpage.lib=11
E:\hwgui\lib\procmisc.lib=12
E:\hwgui\lib\hwgui.lib=13
%C_LIB_INSTALL%\Kernel32.Lib=14
%C_LIB_INSTALL%\User32.Lib=15
%C_LIB_INSTALL%\Gdi32.Lib=16
%C_LIB_INSTALL%\WinSpool.Lib=17
%C_LIB_INSTALL%\ComCtl32.Lib=18
%C_LIB_INSTALL%\ComDlg32.Lib=19
%C_LIB_INSTALL%\AdvAPI32.Lib=20
%C_LIB_INSTALL%\shell32.lib=21
%C_LIB_INSTALL%\Ole32.Lib=22
%C_LIB_INSTALL%\OleAut32.Lib=23
%C_LIB_INSTALL%\Uuid.Lib=24
%C_LIB_INSTALL%\odbc32.lib=25
%C_LIB_INSTALL%\odbccp32.lib=26
%C_LIB_INSTALL%\IPHlpApi.Lib=27
%C_LIB_INSTALL%\Mpr.Lib=28
%C_LIB_INSTALL%\Version.Lib=29
%C_LIB_INSTALL%\WSock32.Lib=30