• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >vc/mfc > 调用ActiveX的问题?

调用ActiveX的问题?

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-06-04

佚名通过本文主要向大家介绍了c#调用activex控件,labview调用activex,js调用activex,java 调用activex,c#调用activex等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 调用ActiveX的问题?
描述:

我用VC++写的ActiveX控件.在C#中调用,为什么会出现这样的问题
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: Catastrophic failure
==================================================
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   at FFTWACTIVEXLib.FFTWActivexClass.Test()
   at NewRedDBTest.Form1.button8_Click(Object sender, EventArgs e) in d:\cuiyu\project file\com.redray\newreddbtest\form1.cs:line 811
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
NewRedDBTest
    Assembly Version: 1.0.1755.29408
    Win32 Version: 1.0.1755.29408
    CodeBase: file:///D:/CUIYU/Project%20File/com.Redray/NewRedDBTest/bin/Debug/NewRedDBTest.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Interop.DxVBLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/CUIYU/Project%20File/com.Redray/NewRedDBTest/bin/Debug/Interop.DxVBLib.DLL
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Interop.FFTWACTIVEXLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/CUIYU/Project%20File/com.Redray/NewRedDBTest/bin/Debug/Interop.FFTWACTIVEXLib.DLL
----------------------------------------
Interop.TNTVIEWLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/CUIYU/Project%20File/com.Redray/NewRedDBTest/bin/Debug/Interop.TNTVIEWLib.DLL
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 如何开发一个ActiveX控件,在其中调用另外一个控件
  • ActiveX的调用方法
  • ActiveX和C#的类型转换问题
  • ActiveX调用Js问题
  • 怎样在ActiveX控件里调用DLL急急!
  • ActiveX调用GDI+的问题???
  • javascript调用ActiveX问题
  • ActiveX中调用winpcap,编译通不过。
  • 网页调用activex控件
  • ACTIVEX调用其他dll遇到的问题!

相关文章

  • 2017-06-04 请教复合文档!ATL
  • 2017-06-04 为什么不给类厂进行计数
  • 2017-06-04 高分求救:用ATLCOMAPPWINZARD生成的DLL如何导出函数呀?谢谢!!!!!!!!!!!!
  • 2017-06-04 如何才能买到ATL开发指南第二版中文版?
  • 2017-06-04 请问用ATL写的程序,在win98下面需要些什么文件支持?
  • 2017-06-04 Win32Dynamic-LinkLabrary建立什么DLL,菜鸟求问!!
  • 2017-06-04 关于UNICODE的问题
  • 2017-06-05 请问如何在DLL里弹出一个消息框?如MessageBox等,用哪一个函数,参数该如何填写?
  • 2017-06-05 包含在ocx中的child类型dialog如何实现透明mfc/VC编写
  • 2017-06-05 高手请接分:串口通讯问题

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • ATL中的返回结果问题
    • ACTIVESX中如何添加滚动条
    • CDhtmlDialog无法把回车等键盘消息传给网页
    • 在IE设置为缺省的情况下,怎么用ActiveX?
    • 俩个表//一个表的外键必须要和另一个表的主键关联吗???
    • 控件中的文字显示问题(急!!!!!!!!在线等!!!!!)
    • 如何生成一个供其他语言(譬如说:VB)调用的DLL,这个DLL包装了另外一个复杂的DLL文件。
    • 请教大家一个简单的问题,谢谢~~~(分少,穷)
    • ActiveX设置属性页,怎样序列化保存那?
    • msxml3dll的初始化问题

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有