Reputation: 461
When I create new *.rc file in visual studio and import some custom resource types in it, visual studio include "resources.h" and some directives implicitly in *rc file.
I want create Plain RC file to add custom type binary data only. later I can build it to embed with application.
But each time I have to manually remove "directives and included headers" from *.rc before compilation.
Is there any way, so I create new *rc file and add any coustom data without adding any include files and directives in visual studio?
I can locally create *.rc file and add any data like i edit text file. But I want to create using visual studio.
Upvotes: 2
Views: 3988
Reputation: 3153
I don't think that the Visual Studio Express can let you add .rc files.
But you can go Project->Add New Item...->Visual C++->Code->C++ File (.cpp)
and change the file name to app.rc.
After that, Right-Click the app.rc file and select View Code.
Now, you can edit it like a text file.
Support Link:
https://msdn.microsoft.com/en-us/library/aa381058%28VS.85%29.aspx
Upvotes: 1