如题。

解决方案 »

  1.   

    afximpl.h的正确路径
    在.NET下
    #include <..\src\mfc\afximpl.h>
    在VC 6.0下
    #include <..\src\afximpl.h>
    定位到错误检查一下
      

  2.   

    vc++6.0下编译DLL,出错信息说不能打开'afximpl.h',#include "stdafx.h"语句已放在最前面,为什么出错呢?
    看stdafx.h里包含了哪些头文件vc6有“运行时库选择多线程调试”
    可以的,project--settings--C/C++--在Category里选Code Generation,
    然后在Use run-time Library里选择Debug Multithreaded 
      

  3.   

    Project->Setting->c/c++下的Category选择Code Generation 下设置
      

  4.   

    知道原因了,就是设置一下头文件的路径就行了,我是这样解决的。
    找到afximpl.h是在VC98\MFC\SRC目录下,在tools->options->Directories,include files,选入VC98\MFC\SRC目录,这样设置路径就行了。