在winform程序中使用了MSOWC.DLL组件(版本9.0),在WinXP中程序注册运行一切正常。但在win7系统下安装程序一切正常MSOWC组件也注册正常,但是系统运行后打开该组件时报错,提示句柄错误。 晕死,哪位大虾帮帮忙! 分不够再加
解决方案 »
- 请求达人,POST的网页数据如何获取?
- 遍历XML的问题
- 将用户表里的数据全部加载到内存中,怎么样?
- 建立的mdf数据库中有14个表,其中有5个表的关键字完全相同,这是否合适?会引起什么问题吗?
- C#中如何能够把一个24位位图转换为16位的位图?
- 超有挑战性问题-高手都来看看吧!UTF-8和GBK间作编码转换
- VS.NET 下载地址[http]
- 有用DataAccessApplicationBlock.msi(Microsoft DataAcess Application Block for .Net)做数据访问的没啊??
- 怎样获取menuitem的text值?
- 怎么样在主窗体中改变子窗体中一个文本框的内容?
- RadioButtonList 我想在WinForm里也想实现这样的功能。。。有高手可以帮忙不??
- 求List排序)(全部家当奉上)
http://down.tech.sina.com.cn/content/38825.html
1、注册时:
模块“c:\test\msowc.dll”已加载,但对dllregisterserver的调用失败,错误代码为ox8002801c
2、
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。************** 异常文本 **************
System.Reflection.TargetInvocationException: 无法获取“AxSpreadsheet”控件的窗口句柄。不支持无窗口的 ActiveX 控件。 ---> System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
在 System.Windows.Forms.UnsafeNativeMethods.IOleObject.DoVerb(Int32 iVerb, IntPtr lpmsg, IOleClientSite pActiveSite, Int32 lindex, IntPtr hwndParent, COMRECT lprcPosRect)
在 System.Windows.Forms.AxHost.DoVerb(Int32 verb)
在 System.Windows.Forms.AxHost.InPlaceActivate()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Windows.Forms.AxHost.InPlaceActivate()
在 System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
在 System.Windows.Forms.AxHost.CreateHandle()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.AxHost.EndInit()
在 SXINFO.BG9APO.AppleProcessesEarlyWarning.FormForReport.ReportInputForm1.InitializeComponent()
在 SXINFO.BG9APO.AppleProcessesEarlyWarning.FormForReport.ReportInputForm1..ctor()
在 SXINFO.BG9APO.AppleProcessesEarlyWarning.FormForReport.ReportInputForm1List.bindingNavigatorAddNewItem_Click(Object sender, EventArgs e)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
在 System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
在 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
在 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AppleProcessesEarlyWarning
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/AppleProcessesEarlyWarning.exe
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DAL
程序集版本: 0.0.0.0
Win32 版本: 0.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/DAL.DLL
----------------------------------------
BLL
程序集版本: 0.0.0.0
Win32 版本: 0.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/BLL.DLL
----------------------------------------
System.Data.Linq
程序集版本: 3.5.0.0
Win32 版本: 3.5.30729.4926
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Data.Linq/3.5.0.0__b77a5c561934e089/System.Data.Linq.dll
----------------------------------------
System.Core
程序集版本: 3.5.0.0
Win32 版本: 3.5.30729.4926 built by: NetFXw7
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Module
程序集版本: 0.0.0.0
Win32 版本: 0.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/Module.DLL
----------------------------------------
System.Transactions
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
程序集版本: 0.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Xml.Linq
程序集版本: 3.5.0.0
Win32 版本: 3.5.30729.4926 built by: NetFXw7
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
FormForReport
程序集版本: 0.0.0.0
Win32 版本: 0.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/FormForReport.DLL
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
AxInterop.OWC
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/AxInterop.OWC.DLL
----------------------------------------
Interop.OWC
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/陕西省信息中心/陕西省苹果加工预警系统/Interop.OWC.DLL
----------------------------------------************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。例如: <configuration>
<system.windows.forms jitDebugging="true" />
</configuration>启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。