橐-
致命错误
RC1015:
无法打开包含文件
'afxres.h'
解决方法:
工具
(tools)->选项
(options)->
目录
(derectories)
的目录选 择
include files
在路径
中添加
C:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE
(我的
vc
装在
C:Program FilesMicrosoft Visual Studio
,所以加上
VC98MFCINCLUDE
就
o k
了)
有时候还可能找不到
mfc
的
lib
。。 同样的在工具
(tools)->
选项
(options)->
目录
(derectories)
的目录选择
Library files
添加
C:Program FilesMicrosoft Visual
StudioVC98MFCLIB
就可以了
afxres.h
代码:
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#ifndef __AFXRES_H__
#define __AFXRES_H__
#ifdef RC_INVOKED
#ifndef _INC_WINDOWS
#define _INC_WINDOWS
#include
// extract from windows header
#endif
#endif
#ifdef _AFX_MINREBUILD
#pragma component(minrebuild, off)
#endif
#ifdef APSTUDIO_INVOKED
#define APSTUDIO_HIDDEN_SYMBOLS
#endif
///////////////////////////////////////// ////////////////////////////////////
// MFC resource types (see Technical note TN024 for implementation details)
#ifndef RC_INVOKED
#define RT_DLGINIT
MAKEINTRESOURCE(240)
#define RT_TOOLBAR
MAKEINTRESOURCE(241)
#endif
////////////////////////////////////////////////// ///////////////////////////
#ifdef APSTUDIO_INVOKED
#undef APSTUDIO_HIDDEN_SYMBOLS
#endif
////// ////////////////////////////////////////////////// /////////////////////
// General style bits etc
// ControlBar styles
#define CBRS_ALIGN_LEFT
0x1000L
#define CBRS_ALIGN_TOP
0x2000L
#define CBRS_ALIGN_RIGHT
0x4000L
#define CBRS_ALIGN_BOTTOM
0x8000L
#define CBRS_ALIGN_ANY
0xF000L
#define CBRS_BORDER_LEFT
0x0100L
#define CBRS_BORDER_TOP
0x0200L
#define CBRS_BORDER_RIGHT
0x0400L
#define CBRS_BORDER_BOTTOM
0x0800L
#define CBRS_BORDER_ANY
0x0F00L
#define CBRS_TOOLTIPS
0x0010L
#define CBRS_FLYBY
0x0020L
#define CBRS_FLOAT_MULTI
0x0040L
#define CBRS_BORDER_3D
0x0080L
#define CBRS_HIDE_INPLACE
0x0008L
#define CBRS_SIZE_DYNAMIC
0x0004L
#define CBRS_SIZE_FIXED
0x0002L
#define CBRS_FLOATING
0x0001L
#define CBRS_GRIPPER
0x00400000L
#define CBRS_ORIENT_HORZ
(CBRS_ALIGN_TOP|CBRS_ALIGN_BOTTOM)
#define CBRS_ORIENT_VERT
(CBRS_ALIGN_LEFT|CBRS_ALIGN_RIGHT)
#define CBRS_ORIENT_ANY
(CBRS_ORIENT_HORZ|CBRS_ORIENT_VERT)
#define CBRS_ALL
0x0040FFFFL
// the CBRS_ style is made up of an alignment style and a draw border style
//
the alignment styles are mutually exclusive
//
the draw border styles may be combined
#define CBRS_NOALIGN
0x00000000L
#define CBRS_LEFT
(CBRS_ALIGN_LEFT|CBRS_BORDER_RIGHT)
#define CBRS_TOP
(CBRS_ALIGN_TOP|CBRS_BORDER_BOTTOM)
#define CBRS_RIGHT
(CBRS_ALIGN_RIGHT|CBRS_BORDER_LEFT)
#define CBRS_BOTTOM
(CBRS_ALIGN_BOTTOM|CBRS_BORDER_TOP)
/ ////////////////////////////////////////////////// //////////////////////////
// Standard window components
// Mode indicators in status bar - these are routed like commands
#define ID_INDICATOR_EXT
0xE700
// extended selection indicator
#define ID_INDICATOR_CAPS
0xE701
// cap lock indicator
#define ID_INDICATOR_NUM
0xE702
// num lock indicator
#define ID_INDICATOR_SCRL
0xE703
// scroll lock indicator
#define ID_INDICATOR_OVR
0xE704
// overtype mode indicator
#define ID_INDICATOR_REC
0xE705
// record mode indicator
#define ID_INDICATOR_KANA
0xE706
// kana lock indicator
#define ID_SEPARATOR
0
// special separator value
#ifndef RC_INVOKED
// code only
// Standard control bars (IDW = window ID)
#define AFX_IDW_CONTROLBAR_FIRST
0xE800
#define AFX_IDW_CONTROLBAR_LAST
0xE8FF
#define AFX_IDW_TOOLBAR
0xE800
// main Toolbar for window
#define AFX_IDW_STATUS_BAR
0xE801
// Status bar window
#define AFX_IDW_PREVIEW_BAR
0xE802
// PrintPreview Dialog Bar
#define AFX_IDW_RESIZE_BAR
0xE803
// OLE in-place resize bar
#define AFX_IDW_REBAR
0xE804
// COMCTL32
#define AFX_IDW_DIALOGBAR
0xE805
// CDialogBar
// Note: If your application supports docking toolbars, you should
//
not use the following IDs for your own toolbars.
The IDs chosen
//
are at the top of the first 32 such that the bars will be hidden
//
while in print preview mode, and are not likely to conflict with
//
IDs your application may have used succesfully in the past.
#define AFX_IDW_DOCKBAR_TOP
0xE81B
#define AFX_IDW_DOCKBAR_LEFT
0xE81C
#define AFX_IDW_DOCKBAR_RIGHT
0xE81D
#define AFX_IDW_DOCKBAR_BOTTOM
0xE81E
#define AFX_IDW_DOCKBAR_FLOAT
0xE81F
// Macro for mapping standard control bars to bitmask (limit of 32)
#define AFX_CONTROLBAR_MASK(nIDC)
(1L << (nIDC - AFX_IDW_CONTROLBAR_FIRST))
// parts of Main Frame
#define AFX_IDW_PANE_FIRST
0xE900
// first pane (256 max)
#define AFX_IDW_PANE_LAST
0xE9ff
#define AFX_IDW_HSCROLL_FIRST
0xEA00
// first Horz scrollbar (16 max)
#define AFX_IDW_VSCROLL_FIRST
0xEA10
// first Vert scrollbar (16 max)
#define AFX_IDW_SIZE_BOX
0xEA20
// size box for splitters
#define AFX_IDW_PANE_SAVE
0xEA21
// to shift AFX_IDW_PANE_FIRST
#endif //!RC_INVOKED
#ifndef APSTUDIO_INVOKED
// common style for form views
#define AFX_WS_DEFAULT_VIEW
(WS_CHILD | WS_VISIBLE | WS_BORDER)
#endif //!APSTUDIO_INVOKED
////////// ////////////////////////////////////////////////// /////////////////
// Standard app configurable strings
// for application title (defaults to EXE name or name in constructor)
#define AFX_IDS_APP_TITLE
0xE000
// idle message bar line
#define AFX_IDS_IDLEMESSAGE
0xE001
// message bar line when in shift-F1 help mode
#define AFX_IDS_HELPMODEMESSAGE
0xE002
// document title when editing OLE embedding
#define AFX_IDS_APP_TITLE_EMBEDDING
0xE003
// company name
#define AFX_IDS_COMPANY_NAME
0xE004
// object name when server is inplace
#define AFX_IDS_OBJ_TITLE_INPLACE
0xE005
///////////////////////// ////////////////////////////////////////////////// //
// Standard Commands
// File commands
#define ID_FILE_NEW
0xE100
#define ID_FILE_OPEN
0xE101
#define ID_FILE_CLOSE
0xE102
#define ID_FILE_SAVE
0xE103
#define ID_FILE_SAVE_AS
0xE104
#define ID_FILE_PAGE_SETUP
0xE105
#define ID_FILE_PRINT_SETUP
0xE106
#define ID_FILE_PRINT
0xE107
#define ID_FILE_PRINT_DIRECT
0xE108
#define ID_FILE_PRINT_PREVIEW
0xE109
#define ID_FILE_UPDATE
0xE10A
#define ID_FILE_SAVE_COPY_AS
0xE10B
#define ID_FILE_SEND_MAIL
0xE10C
#define ID_FILE_MRU_FIRST
0xE110
#define ID_FILE_MRU_FILE1
0xE110
// range - 16 max
#define ID_FILE_MRU_FILE2
0xE111
#define ID_FILE_MRU_FILE3
0xE112
#define ID_FILE_MRU_FILE4
0xE113
#define ID_FILE_MRU_FILE5
0xE114
#define ID_FILE_MRU_FILE6
#define ID_FILE_MRU_FILE7
#define ID_FILE_MRU_FILE8
#define ID_FILE_MRU_FILE9
#define ID_FILE_MRU_FILE10
#define ID_FILE_MRU_FILE11
#define ID_FILE_MRU_FILE12
#define ID_FILE_MRU_FILE13
#define ID_FILE_MRU_FILE14
#define ID_FILE_MRU_FILE15
#define ID_FILE_MRU_FILE16
#define ID_FILE_MRU_LAST
// Edit commands
#define ID_EDIT_CLEAR
#define ID_EDIT_CLEAR_ALL
#define ID_EDIT_COPY
#define ID_EDIT_CUT
#define ID_EDIT_FIND
#define ID_EDIT_PASTE
#define ID_EDIT_PASTE_LINK
#define ID_EDIT_PASTE_SPECIAL
#define ID_EDIT_REPEAT
#define ID_EDIT_REPLACE
#define ID_EDIT_SELECT_ALL
#define ID_EDIT_UNDO
#define ID_EDIT_REDO
// Window commands
#define ID_WINDOW_NEW
#define ID_WINDOW_ARRANGE
#define ID_WINDOW_CASCADE
#define ID_WINDOW_TILE_HORZ
#define ID_WINDOW_TILE_VERT
#define ID_WINDOW_SPLIT
0xE115
0xE116
0xE117
0xE118
0xE119
0xE11A
0xE11B
0xE11C
0xE11D
0xE11E
0xE11F
0xE11F
0xE120
0xE121
0xE122
0xE123
0xE124
0xE125
0xE126
0xE127
0xE128
0xE129
0xE12A
0xE12B
0xE12C
0xE130
0xE131
0xE132
0xE133
0xE134
0xE135
#ifndef RC_INVOKED
// code only
#define AFX_IDM_WINDOW_FIRST
0xE130
#define AFX_IDM_WINDOW_LAST
0xE13F
#define AFX_IDM_FIRST_MDICHILD
0xFF00
// window list starts here
#endif //!RC_INVOKED
// Help and App commands
#define ID_APP_ABOUT
0xE140
#define ID_APP_EXIT
0xE141
#define ID_HELP_INDEX
#define ID_HELP_FINDER
#define ID_HELP_USING
#define ID_CONTEXT_HELP
// special commands for processing help
#define ID_HELP
#define ID_DEFAULT_HELP
// Misc
#define ID_NEXT_PANE
#define ID_PREV_PANE
// Format
#define ID_FORMAT_FONT
// OLE commands
#define ID_OLE_INSERT_NEW
#define ID_OLE_EDIT_LINKS
#define ID_OLE_EDIT_CONVERT
#define ID_OLE_EDIT_CHANGE_ICON
#define ID_OLE_EDIT_PROPERTIES
#define ID_OLE_VERB_FIRST
#ifndef RC_INVOKED
// code only
#define ID_OLE_VERB_LAST
#endif //!RC_INVOKED
// for print preview dialog bar
#define AFX_ID_PREVIEW_CLOSE
#define AFX_ID_PREVIEW_NUMPAGE
#define AFX_ID_PREVIEW_NEXT
#define AFX_ID_PREVIEW_PREV
#define AFX_ID_PREVIEW_PRINT
#define AFX_ID_PREVIEW_ZOOMIN
#define AFX_ID_PREVIEW_ZOOMOUT
0xE142
0xE143
0xE144
0xE145
0xE146
0xE147
0xE150
0xE151
0xE160
0xE200
0xE201
0xE202
0xE203
0xE204
0xE210
0xE21F
0xE300
0xE301
0xE302
0xE303
0xE304
0xE305
0xE306
// shift-F1
// first attempt for F1
// last attempt
// range - 16 max
// One/Two Page button
// View commands (same number used as IDW used for control bar)
#define ID_VIEW_TOOLBAR
0xE800
#define ID_VIEW_STATUS_BAR
0xE801
#define ID_VIEW_REBAR
0xE804
#define ID_VIEW_AUTOARRANGE
0xE805
// E810 -> E81F must be kept in order for RANGE macros
#define ID_VIEW_SMALLICON
0xE810
#define ID_VIEW_LARGEICON
0xE811
#define ID_VIEW_LIST
0xE812
#define ID_VIEW_DETAILS
0xE813
#define ID_VIEW_LINEUP
0xE814
#define ID_VIEW_BYNAME
0xE815
#define AFX_ID_VIEW_MINIMUM
ID_VIEW_SMALLICON
#define AFX_ID_VIEW_MAXIMUM
ID_VIEW_BYNAME
// E800 -> E8FF reserved for other control bar commands
// RecordForm commands
#define ID_RECORD_FIRST
0xE900
#define ID_RECORD_LAST
0xE901
#define ID_RECORD_NEXT
0xE902
#define ID_RECORD_PREV
0xE903
///// ////////////////////////////////////////////////// //////////////////////
// Standard control IDs
#ifdef IDC_STATIC
#undef IDC_STATIC
#endif
#define IDC_STATIC
(-1)
// all static controls
//////////////////////////////// /////////////////////////////////////////////
// Standard string error/warnings
#ifndef RC_INVOKED
// code only
#define AFX_IDS_SCFIRST
0xEF00
#endif //!RC_INVOKED
#define AFX_IDS_SCSIZE
0xEF00
#define AFX_IDS_SCMOVE
0xEF01
#define AFX_IDS_SCMINIMIZE
0xEF02
#define AFX_IDS_SCMAXIMIZE
0xEF03
#define AFX_IDS_SCNEXTWINDOW
0xEF04
#define AFX_IDS_SCPREVWINDOW
0xEF05
#define AFX_IDS_SCCLOSE
0xEF06
#define AFX_IDS_SCRESTORE
0xEF12
#define AFX_IDS_SCTASKLIST
0xEF13
#define AFX_IDS_MDICHILD
0xEF1F
#define AFX_IDS_DESKACCESSORY
0xEFDA
// General strings
#define AFX_IDS_OPENFILE
0xF000
#define AFX_IDS_SAVEFILE
0xF001
#define AFX_IDS_ALLFILTER
0xF002
#define AFX_IDS_UNTITLED
0xF003
#define AFX_IDS_SAVEFILECOPY
0xF004
#define AFX_IDS_PREVIEW_CLOSE
0xF005
#define AFX_IDS_UNNAMED_FILE
0xF006
#define AFX_IDS_HIDE
0xF011
// MFC Standard Exception Error messages
#define AFX_IDP_NO_ERROR_AVAILABLE
0xF020
#define AFX_IDS_NOT_SUPPORTED_EXCEPTION 0xF021
#define AFX_IDS_RESOURCE_EXCEPTION
0xF022
#define AFX_IDS_MEMORY_EXCEPTION
0xF023
#define AFX_IDS_USER_EXCEPTION
0xF024
// Printing and print preview strings
#define AFX_IDS_PRINTONPORT
0xF040
#define AFX_IDS_ONEPAGE
0xF041
#define AFX_IDS_TWOPAGE
0xF042
#define AFX_IDS_PRINTPAGENUM
0xF043
#define AFX_IDS_PREVIEWPAGEDESC
0xF044
#define AFX_IDS_PRINTDEFAULTEXT
0xF045
#define AFX_IDS_PRINTDEFAULT
0xF046
#define AFX_IDS_PRINTFILTER
0xF047
#define AFX_IDS_PRINTCAPTION
0xF048
#define AFX_IDS_PRINTTOFILE
0xF049
// OLE strings
#define AFX_IDS_OBJECT_MENUITEM
0xF080
#define AFX_IDS_EDIT_VERB
0xF081
#define AFX_IDS_ACTIVATE_VERB
0xF082
#define AFX_IDS_CHANGE_LINK
0xF083
#define AFX_IDS_AUTO
0xF084
#define AFX_IDS_MANUAL
0xF085
橐-
橐-
橐-
橐-
橐-
橐-
橐-
橐-
本文更新与2021-01-22 03:58,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/547977.html
-
上一篇:英语写作中常见语法错误的改正方法
下一篇:历年考研英语二真题及答案