Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Error "Resource.h" MFC Visual C+ (http://www.go4expert.com/forums/error-resourceh-mfc-visual-c-t27187/)

SureshAbraham 21Nov2011 19:21

Error "Resource.h" MFC Visual C+
I have been trying to #include "resource.h" in an MFC code. Error is being reported. fatal error C1083: Cannot open include file: 'resource.h'.

Could not succeed even after including a self made notepad file of that name in the Resource folder of the file view of the project. If such a file is to be made by the user itself what should be its contents?

I read some where that resource.h is to be generated by the IDE automatically for each project. How can that be done?

rsquareshelke 12Dec2011 23:57

Re: Error "Resource.h" MFC Visual C+
resource.h contains constant values with #defines.

Try with do use precompiled header setting in VS2008

All times are GMT +5.5. The time now is 16:16.