I'm working through a winapi introduction course using DevCpp. I have problems adding, editing resource files.
I looked at some of the examples in DevCpp and found 2 files with each project, a *.rc and a *.res file. I got the program to compile and run with no problems, but it seems to me the resource files are "not part" of my program. If I change an icon and recompile, the old icon is still displayed.
I use version 4960. Do I need a visual resource editor? Or I am missing something else?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there!
Well, first include the .rc file in your projects options. This way it should get compiled and linked to your prog. Secondly watch the first page of the project options (where you can choose GUI, non-GUI etc.) and check if you asigned an icon to your project. If so and you want a diffrent one simply select no icon and everything should work.
Bye
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm working through a winapi introduction course using DevCpp. I have problems adding, editing resource files.
I looked at some of the examples in DevCpp and found 2 files with each project, a *.rc and a *.res file. I got the program to compile and run with no problems, but it seems to me the resource files are "not part" of my program. If I change an icon and recompile, the old icon is still displayed.
I use version 4960. Do I need a visual resource editor? Or I am missing something else?
Hi there!
Well, first include the .rc file in your projects options. This way it should get compiled and linked to your prog. Secondly watch the first page of the project options (where you can choose GUI, non-GUI etc.) and check if you asigned an icon to your project. If so and you want a diffrent one simply select no icon and everything should work.
Bye
Thanks for your help. Just got your message, will try today