Icon in Windows

BlitzMax Forums/BlitzMax Programming/Icon in Windows

Tricky(Posted 2007) [#1]
I know you need a .o file to add an icon to your Windows versions of BlitzMax apps. I know there's a way to do this in MinGW to create such a file out of an .ico file, but I lost all info about that.

Can somebody tell me again how you converted an .ico file into an .o file again using MinGW?


(I know it's somewhere on this forum, but the "search" feature was ineffective when I tried to look it up)


nino(Posted 2007) [#2]
create an .rc file

101 ICON <full path>\icon.ico

launch cmd

<MinGW path>\bin\windres -i <full path>\resourcefile.rc -o <ouput path>\mycoff.o


tonyg(Posted 2007) [#3]
Tricky, try searching with 'exe icon' in just the BlitzMax forums with Search Method : Advanced Slow.


Tricky(Posted 2007) [#4]
@Tonyg

Perhaps I had to try that method indeed...


@nino
Thanks a lot....
I'll note that one before I lose it again :)