Page 1 of 1

interfacing with dev-c++

Posted: Fri Nov 13, 2009 7:47 pm
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

Posted: Sat Nov 14, 2009 6:20 am
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.