#if !defined(AFX_STDAFX_H__8C4FE013_CBD3_4B06_B44F_1C259FCB5656__INCLUDED_)
#define AFX_STDAFX_H__8C4FE013_CBD3_4B06_B44F_1C259FCB5656__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#include<comdef.h>
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename ("EOF","adoEOF")
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__8C4FE013_CBD3_4B06_B44F_1C259FCB5656__INCLUDED_)
编译提示错误::\练习\dd\debug\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
f:\练习\dd\stdafx.h(32) : fatal error C1070: mismatched #if/#endif pair in file 'f:\练习\dd\stdafx.h'
Error executing cl.exe.
dd.exe - 1 error(s), 1 warning(s)
请问该怎么解决??
还是不行,加了错误更多了
...H__8C4FE013_CBD3_4B06_B44F_1C259FCB5656__INCLUDED_)_百度知 ...
2)fatal error C1070: mismatched #if\/#endif pair in file 'f:\\练习\\dd\\stdafx.h'这是因为你缺少了一个endif。在:ifndef _AFX_NO_AFXCMN_SUPPORT include <afxcmn.h> \/\/ MFC support for Windows Common Controls 之后价格#endif。即:ifndef _AFX_NO_AFXCMN_SUPPORT include <afxcmn.h...
...if !defined(AFX_SQL_H__D5AA36FC_92D0_48A6_AC57_EC0281A893B8...
if _MSC_VER > 1000 \/\/\/这个貌似是检查编译器版本的 pragma once \/\/这个和上面那个#if #endif那个性质是一样的,防重复包含 endif \/\/ _MSC_VER > 1000 ifndef __AFXWIN_H__ \/\/如果这个宏没定义 error include 'stdafx.h' before including this file for PCH \/\/编译器在编译代码时输...
我的一个openGL程序出问题了
#if !defined(AFX_HANDGLVIEW_H__5BAB0C82_7D5E_11D2_83B3_0080C832FCF3__INCLUDED_)#define AFX_HANDGLVIEW_H__5BAB0C82_7D5E_11D2_83B3_0080C832FCF3__INCLUDED_#if _MSC_VER >=1000#pragma once#endif \/\/ _MSC_VER >= 1000class CHandGLView : public CView{protected: \/\/ create from seri...
在VC中,如何防止程序重复启动?
AfxMessageBox(_T("应用程序不可以重复启动"),MB_OK | MB_APPLMODAL | MB_ICONSTOP);return(false);} 把m_pszAppName换成程序的GUIDe值即可。一般在stdafx.h有,例如 if !defined(AFX_STDAFX_H__A5EA48F2_0257_4B04_B771_A2E1635741D8__INCLUDED_)define AFX_STDAFX_H__A5EA48F2_0257_4B04...
怎样在VC++中实现播放MP3背景音乐
mxcd.cChannels = 1; if(mixerGetControlDetails((HMIXEROBJ)hmixer,&mxcd,MIXER_OBJECTF_HMIXER|MIXER_GETCONTROLDETAILSF_VALUE)) return -1; return vol.dwValue; }bool CSound::SetVolumeValue(HMIXER hmixer,MIXERCONTROL *mxc,long volume){ MIXERCONTROLDETAILS mxcd; MIXERCONTROLDETAILS_UNSIGNED v...
VC++可不可以直接对内存进行修改?
\/\/StdAfx.h#if !defined(AFX_STDAFX_H__7438D592_DA27_443E_824E_D280AF259D3F__INCLUDED_)#define AFX_STDAFX_H__7438D592_DA27_443E_824E_D280AF259D3F__INCLUDED_#if _MSC_VER > 1000#pragma once#endif \/\/ _MSC_VER > 1000\/\/ TODO: reference additional headers your program requires ...
非阻塞套接字实现的文件传输程序
\/\/{{AFX_INSERT_LOCATION}}\/\/ Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif \/\/ !defined(AFX_TCPDLG_H__E2F8748A_67A9_47EA_981E_1A2A72E09154__INCLUDED_)\/\/ TCPDlg.cpp : implementation file\/\/#include "stdafx.h"#include "TCP.h"#...
怎样防止程序重复开启
自启前提需要再C盘,重新下载到D盘试试
#include <iostream.h> #include <windows.h> #include <stdlib.h...
include "SnakeView.h"ifdef _DEBUG define new DEBUG_NEW undef THIS_FILE static char THIS_FILE[] = __FILE__;endif IMPLEMENT_DYNCREATE(CSnakeView, CView)BEGIN_MESSAGE_MAP(CSnakeView, CView)\/\/{{AFX_MSG_MAP(CSnakeView)ON_COMMAND(ID_GAME_START, OnGameStart)ON_WM_KEYDOWN()ON_...
C++ 中stdafx.h是什么意思
C++中stdafx.h的英文全称为:Standard Application Fram Extend,中文名为:头文件预编译。stdafx.h在C++中起到的作用是:把C++工程中使用的MFC头文件预先编译,以后该工程编译时,直接使用预编译的结果,这样可以加快编译速度。C++编译器通过一个头文件stdafx.h来使用预编译头文件。stdafx.h这个头文件名...