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)
'buildres.bat'
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.
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.