Page 2 of 2

Re: How to Include bitmaps/icons in an EXE?

Posted: Tue Jan 11, 2011 2:26 pm
by karweru
Fanatastic Rathi, It works! Thank you very much for your patience and guidance.

How to Include bitmaps/icons in an EXE?

Posted: Fri Jan 14, 2011 11:45 am
by Pablo César
Czarny_Pijar wrote:Looks like the easiest way to accomplish this task is to substitute the file c:\hmg35\RESOURCES\window.ico to another one of your choice.
Fantastic is to know how users met the alternative way... but this is a radical practice. By other way, I prefer to include in "main demo resource file", as follows:

Code: Select all

ZZZ_AAAWINDOW 		ICON DEMO.ICO
"ZZZ_AAAWINDOW" it´s a alias name of Window.ico in RESOURCE folder for default HMG applications when are .EXE be created.

But please note that you should not edit "main demo resource file" (.RC file) by Text Editor during project (.HBP file) open and running at IDE. Because IDE will overwirte and restore the previous content of .RC file. Quit IDE and then edit .RC file thru your editor.