Hi guys:
I'm new to the Workshop (Borland). Can anyone tell me the steps on how to define icons & bitmaps to include them in my EXE?
Thank you.
How to include icons & bitmaps in EXE.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: How to include icons & bitmaps in EXE.
Using BRW: File -> Add to project -> File type ICO or BMP.
EMG
EMG
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- jose_murugosa
- Posts: 943
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Contact:
Aquí encontraras tres documentos con instrucciones de uso de Resource Workshop.HunterEC wrote:Enrico:
I already have the icon & bitmaps as ico & bmp files. They were not created with the workshop. How can I import them into the workshop ? Is there any available tutorial(s) on using the workshop ?
http://www.box.net/shared/0orm2yawow
Saludos/Regards,
José Murugosa
FWH + Harbour + Bcc7. Una seda!
José Murugosa
FWH + Harbour + Bcc7. Una seda!
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
How to show a icon from disk as a exe-symbol
Hello
To load and show a icon from disk as a exe-symbol
you have at first to save you resource as a RC-file.
Next open it with a editor and go to the end.
There you have to add the desired ICON from disk.
RESOURCE :
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif
.....
.....
1 ICON "favorite.ico"
Favorite.ico showse a star as exe-symbol
The RC-file must be included to the RMK-file
SAMPLE :
#Borland make sample, (c) FiveTech Software 2005
HBDIR=d:\xharbour
BCDIR=d:\bcc55
FWDIR=d:\fwh
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
PRG = \
VTools.PRG \
VTools1.PRG \
VTools2.PRG \
VTools3.PRG \
btnbmp.PRG \
errsysw.PRG
# C = \
# two.C
PROJECT : VTools.exe
VTools.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) VTools.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# OBJ-Liste
# -------------
echo obj\VTools.obj \
obj\Vtools1.obj \
obj\Vtools2.obj \
obj\Vtools3.obj \
obj\btnbmp.obj \
obj\errsysw.obj, + >> b32.bc
echo VTools.exe, + >> b32.bc
echo VTools.map, + >> b32.bc
# Fivewin Lib`s für xHARBOUR
# --------------------------------------
echo $(FWDIR)\lib\Fivehx.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
# xHARBOUR-Lib`s
# -----------------------
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
echo $(HBDIR)\lib\pcrepos.lib + >> b32.bc
# Uncomment these two lines to use Advantage RDD
# echo $(HBDIR)\lib\rddads.lib + >> b32.bc
# echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.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\rasapi32.lib, >> b32.bc
# VTools.res includes Symbol ICON : favorite.ico !!!!!!
# ---------------------------------------------------------------
IF EXIST VTools.res echo VTools.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
# $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include > clip.log
$(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
VTools.res : VTools.rc
$(BCDIR)\bin\brc32.exe -r VTools.rc
The EXE-file shows a star as EXE-symbol
Best Regards
Uwe
To load and show a icon from disk as a exe-symbol
you have at first to save you resource as a RC-file.
Next open it with a editor and go to the end.
There you have to add the desired ICON from disk.
RESOURCE :
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif
.....
.....
1 ICON "favorite.ico"
Favorite.ico showse a star as exe-symbol
The RC-file must be included to the RMK-file
SAMPLE :
#Borland make sample, (c) FiveTech Software 2005
HBDIR=d:\xharbour
BCDIR=d:\bcc55
FWDIR=d:\fwh
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
PRG = \
VTools.PRG \
VTools1.PRG \
VTools2.PRG \
VTools3.PRG \
btnbmp.PRG \
errsysw.PRG
# C = \
# two.C
PROJECT : VTools.exe
VTools.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) VTools.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# OBJ-Liste
# -------------
echo obj\VTools.obj \
obj\Vtools1.obj \
obj\Vtools2.obj \
obj\Vtools3.obj \
obj\btnbmp.obj \
obj\errsysw.obj, + >> b32.bc
echo VTools.exe, + >> b32.bc
echo VTools.map, + >> b32.bc
# Fivewin Lib`s für xHARBOUR
# --------------------------------------
echo $(FWDIR)\lib\Fivehx.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
# xHARBOUR-Lib`s
# -----------------------
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
echo $(HBDIR)\lib\pcrepos.lib + >> b32.bc
# Uncomment these two lines to use Advantage RDD
# echo $(HBDIR)\lib\rddads.lib + >> b32.bc
# echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.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\rasapi32.lib, >> b32.bc
# VTools.res includes Symbol ICON : favorite.ico !!!!!!
# ---------------------------------------------------------------
IF EXIST VTools.res echo VTools.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
# $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include > clip.log
$(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
VTools.res : VTools.rc
$(BCDIR)\bin\brc32.exe -r VTools.rc
The EXE-file shows a star as EXE-symbol
Best Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.