SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

interfacing with dev-c++

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder
View previous topic :: View next topic  
Author Message
mark allyn



Joined: 13 Nov 2009
Posts: 1

PostPosted: Fri Nov 13, 2009 7:47 pm    Post subject: interfacing with dev-c++ Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Sat Nov 14, 2009 6:20 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> Resource Builder All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group