Visual Studio 2005. RC File includes

前端 未结 5 460
日久生厌
日久生厌 2021-01-11 23:31

I\'m programming in C++ on Visual Studio 2005. My question deals with .rc files. You can manually place include directives like (#include \"blah.h\"), at the top of an .rc

5条回答
  •  走了就别回头了
    2021-01-12 00:15

    I'm not completely sure why you're trying to do, but modifying the resource files manually probably isn't a good idea.

    I believe general practice for VC++ for globally-accessible values is to define them in stdafx.h (at least that's how I've seen it done), or to create something like a "globals.h" header file and include that wherever you need it. It really depends on what you're trying to accomplish though.

提交回复
热议问题