Saludos!
Donde puedo descargar los ahrchivos de confururacion de hbmk2 para Borland y MSVC que me permita usar .RC ???
Gracias de antemano
HBDIR=c:\harbour
BCDIR=c:\BCC7
FWDIR=c:\fwh
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include;$(BCDIR)\include\windows
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
DUALGRID.PRG \
TGRID.PRG \
SHELLAPP.PRG \
HBEJECT.PRG \
CODEPAGE.PRG \
IPHONE.PRG \
PROPERTY.PRG \
EVERYTH.PRG \
SPELLCHK.PRG \
HB_FUNC.PRG
PROJECT : DUALGRID.EXE
DUALGRID.exe : $(PRG:.PRG=.OBJ) DUALGRID.res
@echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\DUALGRID.obj obj\TGRID.obj obj\HB_FUNC.obj obj\SHELLAPP.obj obj\HBEJECT.obj obj\CODEPAGE.obj obj\IPHONE.obj obj\PROPERTY.obj obj\EVERYTH.obj obj\SPELLCHK.obj , + >> b32.bc
echo DUALGRID.exe, + >> b32.bc
echo DUALGRID.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\rddfpt.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbpcre.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\xhb.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbziparc.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbmzip.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbzlib.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\minizip.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\png.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbusrrdd.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbtip.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbzebra.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcurl.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\libcurl.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbxpp.lib + >> b32.bc
echo $(FWDIR)\lib\dolphin.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\uuid.lib + >> b32.bc
echo $(BCDIR)\lib\ws2_32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\shell32.lib, >> b32.bc
IF EXIST DUALGRID.res echo DUALGRID.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include;$(BCDIR)\include\windows
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
DUALGRID.res : DUALGRID.rc
$(BCDIR)\bin\brc32.exe -r DUALGRID.rc
if not exist obj md obj
c:\bcc7\bin\make -fDUALGRID.mak
DUALGRID.EXE
-gui
-Ic:\fwh64\include
DUALGRID.PRG
TGRID.PRG
HB_FUNC.PRG
SHELLAPP.PRG
HBEJECT.PRG
CODEPAGE.PRG
IPHONE.PRG
PROPERTY.PRG
EVERYTH.PRG
-Lc:\fwh64\lib
-lFiveH64
-lFiveHC64
-lgdiplus
-lole32
-lOleDlg
-lversion
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbfoxpro.hbc
-ldflag=/NODEFAULTLIB:msvcrt
dualgrid.rc
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
c:\harbour64\bin\win\msvc64\hbmk2 dualgrid.hbp -comp=msvc64
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error XPLOOK.RC 4 9: Cannot open file: C:\FWH1905\SAMPLES\WinXP\WindowsXP.Manifest
hbmk2: Processing environment options: -LC:\HARBOUR\lib\;C:\FWH\lib\ -comp=bcc
hbmk2[GIO]: Warning: Ignoring explicitly specified core library directory:
C:\HARBOUR\lib (in option '-LC:\HARBOUR\lib\;C:\FWH\lib\')
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r2008190002)
Copyright (c) 1999-2020, https://harbour.github.io/
hbmk2: Compiling resources...
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error dialogo.rc 1 3: Expecting resource name or resource type name
hbmk2[GIO]: Error: Running resource compiler. 20018
brcc32.exe -IC:\BCC7\Include -IC:\BCC7\Include\dinkumware -IC:\BCC7\Include\windows\crtl -IC:\BCC7\Include\windows\rtl -IC:\BCC7\Include\windows\sdk -IC:\HARBOUR\include -IC:\HARBOUR\contrib\hbwin -IC:\HARBOUR\contrib\hbct -IC:\HARBOUR\contrib\hbmzip -IC:\HARBOUR\contrib\hbcomm -IC:\HARBOUR\contrib\hbhpdf -IC:\HARBOUR\contrib\xhb -IC:\HARBOUR\contrib\hbtip -IC:\HARBOUR\contrib\hbfship -IC:\HARBOUR\contrib\hbxpp .\dialogo.rc -foOBJs\dialogo.res
* Aplicacao Foi Desenvolvida Com Sucesso
.
The system cannot find the path specified.
'PRINCIPA' is not recognized as an internal or external command,
operable program or batch file.
C:\RAMON4>
Compuin wrote:No,
Un ejemplo de .hbp para FWH / Harbour y BCC que incluya archivos de recursos
@echo on
cls
if exist asocw.exe del asocw.exe
c:\harbour\bin\hbmk2 asocw.hbp -comp=bcc -run
# $Id: asocw.hbp $
#flags
-gui
-inc
#-b
#PRG
# ------ MODULO PRINCIPAL -------
c:\GestAsoc\source\asocw
# ------ SOURCES -----------------
c:\GestAsoc\source\utils
#INCLUDES
-Ic:\fwh\include
#LIBRERIAS FW
-Lc:\fwh\lib
-lFiveH
-lFiveHC
#LIBRERIAS DE TERCEROS
-Lc:\GestAsoc\lib
-ljvchwin
#LIBRERIAS HARBOUR (se añaden las cabeceras .hbc)
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbhpdf.hbc
hbcomm.hbc
hbmxml.hbc
#RC
c:\GestAsoc\resource\asocw.rc
@ECHO OFF
@CLS
Set bcdir=C:\BCC73
@If Exist .OBJs\*.OBJ Del .OBJs\*.OBJ
@If Exist .OBJs\*.Map Del .OBJs\*.Map
@If Exist .OBJs\*.TDS Del .OBJs\*.TDS
@If Exist .OBJs\*.Bc Del .OBJs\*.bc
@If Exist .OBJs\*.C Del .OBJs\*.C
@If Exist .OBJs\*.HC Del .OBJs\*.HC
If Exist PBACKUP.Exe Del PBACKUP.Exe
%bcdir%\bin\BRC32.Exe -R XPLOOK.RC
@SET PATH=%PATH%;C:\BCC73\BIN
@SET INCLUDE=%INCLUDE%;C:\HBBCC74\Include;C:\FWH1905\Include
@SET HB_INSTALL_PREFIX=C:\HBBCC74\
@SET HB_USER_CFLAGS=-c -tWM -d -6 -O2 -OS -Ov -Oi -Oc -D__NODEBUG__
@SET HB_COMPILER=bcc
@SET HB_USER_LIBPATHS=C:\HBBCC73\lib\;C:\FWH1905\lib\
@REM C:\HBBCC74\bin\HBMK2 GIO.HBP -inc -comp=bcc
@C:\HBBCC74\bin\HBMK2 GIO.HBP -rebuild -comp=bcc
@REM PAUSE
Echo * Aplicacao Foi Desenvolvida Com Sucesso
Echo .
@REM @C:\PECOMPACT\PEC2 /NB /EMP:Y /TM:Y /CR:Y /MC PBACKUP.Exe
@PBACKUP
# $Id: GIO.hbp $
#flags
-inc
-m
-n
-w0
-gc0
-q
-gui
# NOME DO EXECUTAVEL
-o.\PBACKUP
# DIRETORIO DOS .OBJ
-workdir=.\OBJs
# RODA O PROGRAMA GERADO.
# -run
########## INICIO - MENU PRINCIPAL. #PRG # ------ MODULO PRINCIPAL -------
#c:\GestObras\source\obraw
.\PBACKUP.PRG
########## MODULOS AUXILIARES.
.\APERTURA.PRG
.\PROC9995.PRG
.\PROC9996.PRG
.\XBRWGET.PRG
########## RESOURCES - Perfeito com .RC ou .RES.
#RC
#c:\GestObras\resource\obraw.rc
# .\PBACKUP.RC
# .\IMAGENES.RC
# .\*.RES # TODOS OS .RES nao acho legal, pode ser que eu tenha e nao use.
# .\PBACKUP.RC
# .\IMAGENES.RC
# .\XPLOOK.RC
########## PREFIRO USAR .RES
.\PBACKUP.RES
.\IMAGENS.RES
.\IMAGENES.RES
# .\XPLOOK.RES
-lhbhpdf
-llibhpdf
#LIBRERIAS HARBOUR (se anaden las cabeceras .hbc)
hbwin.hbc
hbct.hbc
hbziparc.hbc
hbmzip.hbc
hbcomm.hbc
hbhpdf.hbc
xhb.hbc
hbwin.hbc
hbtip.hbc
#rddads.hbc
#hbmxml.hbc
########## LIBS do FiveWin - LIBRERIAS FWH
-Lc:\FWH1905\lib
-lFiveH
-lFiveHC
#LIBRERIAS DE TERCEROS - EJEMPLO:
#-Lc:\GestObras\lib
#-ljvchwina
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 119 guests