ICON_SMALL ICON "c:/users/bijan/pictures/program_icons/notepad.ico";
syntax error
My problem is when i compile my program with this .RC file.Codei get this error.ICON_SMALL ICON "c:/users/bijan/pictures/program_icons/notepad.ico";
CodeThank Yousyntax error
Is there a way to fix this?Yes, use the resource compiler to embed the icon into your application directly. Assuming your are using MinGW/GCC 4 on Windows (you did not tell anything about your configuration) you have to create a resource file (RC) and embed the icon as *.ico file naming it in a way it will e the very first resource (e.g. "AAAIcon"). Make sure the icon has proper size, consult resource handling articles accordingly (we don't provide support for teaching how to do that). You can have a look how Code::Blocks does that assuming your are using wxWidgets.
consult resource handling articles accordingly (we don't provide support for teaching how to do that).