CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
可用分押宝游戏火热进行中... 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  VC.NET

关于AFX_EXT_CLASS宏,好心人帮忙看看

楼主squallchao(地狱小肥猪)2006-05-01 20:36:55 在 .NET技术 / VC.NET 提问

Extension   DLLs   use   the   macro   AFX_EXT_CLASS   to   export   classes;   the   executables   that   link   to   the   extension   DLL   use   the   macro   to   import   classes.   With   the   AFX_EXT_CLASS   macro,   the   same   header   file(s)   used   to   build   the   extension   DLL   can   be   used   with   the   executables   that   link   to   the   DLL.  
  In   the   header   file   for   your   DLL,   add   the   AFX_EXT_CLASS   keyword   to   the   declaration   of   your   class   as   follows:  
  class   AFX_EXT_CLASS   CMyClass   :   public   CDocument  
  {  
  //   <body   of   class>  
  };  
   
  以上是MSDN给出的结释,小弟有些地方不明,请大侠指点。用这种宏定义的类中的方法只给出了函数声明,而具体函数体在什么地方。(在小弟拿到的项目源码中并无任何.dll文件)  
  问题点数:0、回复次数:0Top

相关问题

关键词

得分解答快速导航

  • 帖主:squallchao

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo