dorothy405
路人甲
路人甲
  • 注册日期2008-03-18
  • 发帖数17
  • QQ
  • 铜币159枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:2186回复:1

[求助]AE+VC:IEnvelopePtr' : undeclared identifier

楼主#
更多 发布于:2008-06-30 11:12
<P>各位大侠帮帮忙,小妹初学。。。。在用vc开发时出现IEnvelopePtr' : undeclared identifier的错误,但是我已经在StdAfx.h中引入了组建库了阿:esriSystem.olb,esriSystemUI.olb,esriGeometry.olb都已经导入。。</P>
<P>StdAfx.h文件如下所示:</P>
<P>// stdafx.h : include file for standard system include files,<BR>//  or project specific include files that are used frequently, but<BR>//      are changed infrequently<BR>//</P>
<P>#if !defined(AFX_STDAFX_H__30CFB2A3_FC56_4288_A28D_4AC159F6588B__INCLUDED_)<BR>#define AFX_STDAFX_H__30CFB2A3_FC56_4288_A28D_4AC159F6588B__INCLUDED_</P>
<P>#if _MSC_VER > 1000<BR>#pragma once<BR>#endif // _MSC_VER > 1000</P>
<P>#define VC_EXTRALEAN  // Exclude rarely-used stuff from Windows headers</P>
<P>#include <afxwin.h>         // MFC core and standard components<BR>#include <afxext.h>         // MFC extensions<BR>#include <afxdisp.h>        // MFC Automation classes<BR>#include <afxdtctl.h>  // MFC support for Internet Explorer 4 Common Controls<BR>#ifndef _AFX_NO_AFXCMN_SUPPORT<BR>#include <afxcmn.h>   // MFC support for Windows Common Controls<BR>#endif // _AFX_NO_AFXCMN_SUPPORT</P>
<P><BR>#pragma warning(push)<BR>#pragma warning(disable:4192)<BR>#pragma warning(disable:4146)<BR>#pragma warning(disable:4099)<BR>#import "C:\Program Files\ArcGIS\com\esriSystem.olb" raw_interfaces_only,raw_native_types,no_namespace,named_guides,exclude("OLE_HANDLE","OLE_COLOR")<BR>#import "C:\Program Files\ArcGIS\com\esriSystemUI.olb" raw_interfaces_only,raw_native_types,no_namespace,named_guides,exclude("OLE_HANDLE","OLE_COLOR")<BR>#import "C:\Program Files\ArcGIS\com\esriGeometry.olb" raw_interfaces_only,raw_native_types,no_namespace,named_guides,exclude("OLE_HANDLE","OLE_COLOR")<BR>#pragma warning(pop)<BR>//{{AFX_INSERT_LOCATION}}<BR>// Microsoft Visual C++ will insert additional declarations immediately before the previous line.</P>
<P>#endif // !defined(AFX_STDAFX_H__30CFB2A3_FC56_4288_A28D_4AC159F6588B__INCLUDED_)<BR></P>
喜欢0 评分0
chenjiayibo
路人甲
路人甲
  • 注册日期2008-03-19
  • 发帖数12
  • QQ
  • 铜币149枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2008-11-11 20:39
<P>同问,我也碰到同样的问题</P>
举报 回复(0) 喜欢(0)     评分
游客

返回顶部