#if !defined( __AFXCTL_H__ )
 #error include 'afxctl.h' before including this file
#endif
前面添加:#include "afxctl.h"

解决方案 »

  1.   

    #include "afxctl.h"
    #if !defined( __AFXCTL_H__ )
    #error include 'afxctl.h' before including this file
    #endif
      

  2.   

    #if !defined(AFX_ScoUICTL_H__D7ACADBC_228C_11D3_A4A4_00105AE3ADFA__INCLUDED_)
    #define AFX_ScoUICTL_H__D7ACADBC_228C_11D3_A4A4_00105AE3ADFA__INCLUDED_#if _MSC_VER > 1000
    #pragma once
    #endif // _MSC_VER > 1000// ScoUiCtl.h : main header file for ScoUICTL.DLL#include "afxctl.h"#if !defined( __AFXCTL_H__ )
     #error include 'afxctl.h' before including this file
    #endif#include "resource.h"       // main symbols
    按你们说的我写上之后,错误更多了。请指教!
      

  3.   


    #include <afxctl.h>写到你的 stdafx.h 中