Aengus <analo...@eircom.net> wrote:
> If there aren't any errors in your code, then a few minutes later you
> should have a new copy of analog.exe with your modifications. Note
> that it won't have the Analog icon, but other than that it should
> work fine.   

It turns out that adding the icon isn't very difficult. You need to create a 
resource file, generate an object file from it, and then include that object 
file when compiling the executable.


1) Create a file called resource.rc in the src directory with just one line in 
it

ID ICON "../docs/favicon.ico"

2) Generate the object fil by running this command in MSys:
   windres resource.rc -O coff -o resource.o

3) modify the Makefile by adding resource.o to the OBJS list on line 53 through 
56.

This information came from:
http://blog.stranadurakov.com/2009/04/27/icon-and-version-information-resource-file/

Aengus

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to