ActiveX控件在Debug模式下Dialog Create失败,而在Release模式下正常

云满笔记 2014-03-07 02:43:21
RT,用MFC制作的ActiveX控件,好奇怪啊,Debug模式下就是不行,我静态链接到MFC的,Release下Create Dialog就正常了,这是什么情况啊?
...全文
395 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
云满笔记 2014-03-16
  • 打赏
  • 举报
回复
全都不是正确答案
lijunbiao2080 2014-03-11
  • 打赏
  • 举报
回复
你是不是用了一些库,只能在Release模式下运行,不能再debug模式运行的库。
云满笔记 2014-03-10
  • 打赏
  • 举报
回复
没有人会的吗
云满笔记 2014-03-07
  • 打赏
  • 举报
回复
引用 2 楼 allenhiman 的回复:
什么dialog 不是有专门用于activeX的对话框吗 debug怎么不行的 崩溃应该能调试
我用GetLastError检查返回值,却是0,让我很费解
云满笔记 2014-03-07
  • 打赏
  • 举报
回复
引用 2 楼 allenhiman 的回复:
什么dialog 不是有专门用于activeX的对话框吗 debug怎么不行的 崩溃应该能调试
我用的就是普通对话框啊 如下图:

如果是Debug版本,就会弹框提示,若是Release模式,则不会弹框并显示我想要的对话框界面
allenhiman 2014-03-07
  • 打赏
  • 举报
回复
什么dialog 不是有专门用于activeX的对话框吗 debug怎么不行的 崩溃应该能调试
云满笔记 2014-03-07
  • 打赏
  • 举报
回复
求指教啊 多多参考 来者有分
Delphi 7.1 Update Release Notes=======================================================This file contains important supplemental and late-breakinginformation that may not appear in the main productdocumentation, and supersedes information contained in otherdocuments, including previously installed release notes.Borland recommends that you read this file in its entirety.NOTE: If you are updating a localized version of Delphi 7, visit the Borland Registered User web site to obtain a localized readme file that may contain important late- breaking information not included in this readme file.IMPORTANT: Delphi must be closed before installing this update. =====================================================CONTENTS * INSTALLING THIS UPDATE * UPDATING LOCALIZED VERSIONS OF DELPHI 7 * KNOWN ISSUES * ISSUES ADDRESSED BY THIS UPDATE - IDE - CORE DATABASE - DATASNAP - DBGO (ADO COMPONENTS) - dbExpress - dbExpress COMPONENTS AND DB VCL - dbExpress CORE DRIVER AND METADATA - dbExpress VENDOR ISSUES - dbExpress CERTIFICATION - WEB SNAP - ACTIVEX - COMPILER - RTL - VCL - THIRD PARTY - BOLD FOR DELPHI * VERIFYING THAT THE UPDATE WAS SUCCESSFUL * FILES INSTALLED BY THIS UPDATE =======================================================INSTALLING THIS UPDATE* This update can not be applied to Delphi 7 Architect Trial version. * This update can not be removed after it is installed.* You will need the original Delphi 7 installation CD available to install this update.* To install this update from the CD, insert the CD, and launch the d7_ent_upd1.exe file appropriate for your locale.* To install this update from the Web, double-click the self-executing installation file and follow the prompts. * The Delphi 7 documentation PDF files are available on the update CD.========================================================UPDATING LOCALIZED VERSIONS OF DELPHI 7* This update can be applied only to the English version of Delphi 7. There are separate updates for the German, French and Japanese ver

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧