interfacing with dev-c++

All announcements, questions and issues related to the Resource Builder
Post Reply
mark allyn
Posts: 1
Joined: Fri Nov 13, 2009 4:19 pm

interfacing with dev-c++

Post by mark allyn »

Hello,

I'm new to this forum and to Resource Builder. I'm trying to build an icon to call from a c program compiled by Dev-C++.

I have created a resource.h file and the icon (.ico). However, when I compile the c code the linker seems not to be finding the .ico. The application runs and opens a window, but the icon doesn't show up. Somehow in the LoadIcon call the association is not being made with the .ico file. This may be a Dev-C++ issue...I can't find anything on this problem in their forum.

I have to believe that someone has encountered this problem and knows the solution, if not the fix.

Thanks very much,

Mark Allyn
mark allyn
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,

I suppose you need to create an RC or RES file with your icon and link it to your application in Dev-C++. I don't know how resources linked in Dev-C++ but I guess similar like in other languages.
Best regards,
Igor Siticov.
Post Reply