How to add a Windowicon + Center Window? (again)

BlitzMax Forums/BlitzMax Programming/How to add a Windowicon + Center Window? (again)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

How exactly are you compiling the .o file?

Here is how I would do it..

'res.rc' (Fairly certain the newline at the end is necessary in someway or another)
101 ICON icon.ico


'buildres.bat'
C:/MinGW/bin/windres -i res.rc -o res.o
pause


Open the batch file with command prompt (or enter the commands directly - make sure your in your program/import folder!) and it will generate the .o file.