第一个rc 实在工程目录下 第二个rc 在工程目录下的res文件里求深入探讨 我看过文件的内容 外面工程下的文件才是主要文件 但是不清楚具体作用 我知道它与资源视图有关我建mfc程序的时候 有时候 资源视图会消失的。还有有时候 说没有资源视图。要我重新覆盖??网上说是翻译成汉化的错误求高手帮助 深入探讨下 vs2010下工程文件

解决方案 »

  1.   

    就是的,工程下的rc是真正的主要的资源文件,而res里面的rc文件内容就几行如下:
     //
    // SHOW.RC2 - resources Microsoft Visual C++ does not edit directly
    //#ifdef APSTUDIO_INVOKED
    #error this file is not editable by Microsoft Visual C++
    #endif //APSTUDIO_INVOKED
    /////////////////////////////////////////////////////////////////////////////
    // Add manually edited resources here.../////////////////////////////////////////////////////////////////////////////我没遇到过你说的情况,其他的我也不知到了
      

  2.   

    SHOW.RC2 是给用户自己用的,不过没用过。
      

  3.   

    RES\MYAPP.RC2Contains resources that will not be edited by Visual C++ but will be included in the final compiled .EXE file. AppWizard creates no such resources by default, since Visual C++ can edit all of the standard resources, including the version resource (a new feature in this release). An empty file is generated by AppWizard in case you wish to add your own custom formatted resources to this file.
    If you use custom formatted resources, you can add them to RES\MYAPP.RC2 and edit them using the Visual C++ text editor.
      

  4.   

    同感!楼主的VS2010打了SP1补丁了吗?VS2010有无数个Bug,但打了SP1之后又引用新的Bug