You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi all
Thing is, if you put a reference to an icon in the .RC file on a console app, I couldn't find a way to display it properly in the title bar when executing it.
If anyone has a clue is welcome!
Best regards
---
Claudio Voskian
Buenos Aires - Argentina
Rainer Berning
unread,
Jan 17, 2022, 11:44:51 AM1/17/22
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi
Try to use ResourceHacker. This work for me.
if Program name is xmain.exe and the icon name is chef.ico:
REM Icon in Programm einbinden
"C:\Program Files (x86)\Resource Hacker\ResourceHacker.exe" -open ".\xmain.exe" -save ".\xmain.exe" -action addskip -res ".\chef.ico" -mask ICONGROUP,MAINICON,
CV
unread,
Jan 17, 2022, 5:21:39 PM1/17/22
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Thank you Rainer, will try that!
Regards
C.
Jayadev U
unread,
Jan 18, 2022, 12:13:45 AM1/18/22
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi Claudio,
Please try this:
/* in your main program */
#include "gtinfo.ch" // xHarbour function for ICOn display (it may also
be hbgtinfo.ch)
#define PRGICON 101
Function Main
hb_gtInfo(HB_GTI_ICONRES,PRGICON)
In your .rc file
#define PRGICON 101
PRGICON ICON "youricon.ico"
HTH,
Warm regards,
Jayadev
Gary Williams
unread,
Jan 20, 2022, 5:08:00 AM1/20/22
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
In my console app under the xharbour.com version, just adding the following line to the top of the RC file did the trick,
no other calls to GTInfo etc required