Problems with the resource file in VC++

Started by
2 comments, last by Jubei 22 years, 3 months ago
Hello everybody! First of all: Happy new year to everyone reading this post! Let''s go to it. I am using VC++ and DirectX 8.1 SDK ( the common files such as d3dapp.cpp... etc) . My problem is that although i put a include "resource.h" in my code and I include the rc and the h file to the proper directories it doesn`t seem to load any resource. I think i do exactly the same things that MS do in their examples in the SDK, but i must be forgetting something... Has anybody had this problem and know how to solve it? Thanks.
Advertisement
Add the .RC file to your project workspace. (Project->Add to Project->Files...)

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

I did that... but my problem is still there

I copied a .rc file and a .res file from a SDK example and it worked... why?

Thanks for your time, reader.
Maybe because the resource.h file contains definitions that are implemented in the .rc file??

That''s usually what I''m seeing when I open them up..

Learn about game programming!Games Programming in C++: Start to Finish

This topic is closed to new replies.

Advertisement