Windows custom icon syntax error, but were!?!?!?!

It says I have a syntax error, how? Everything is named accordingly, the file name, the ICON, the only thing that could be doing it is IDI_REDXICON but why would that mess it up? Ill just give you the resource, if you need the header, and the main.cpp or just one say it down below and I will post it to help you diagnose the problem.

1
2
3
4
5
6

#include "OcRunner.h"


IDI_REDXICON ICON "RedXIcon.ico";
If this is a resource file (rc), you don't put semicolons at the end of the line.
Oh, okay it worked. Thanks a bunch.
Topic archived. No new replies allowed.