有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
在 System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
在 System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
在 System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
在 System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
在 System.Windows.Forms.AxHost.CreateInstance()
在 System.Windows.Forms.AxHost.GetOcxCreate()
在 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()
在 WinFormUI.R010101.InitializeComponent() 位置 E:\Newproc\LDERP_MainProc\MainProc\WinFormUI\RO1\R010101.Designer.cs:行号 58
在 WinFormUI.R010101..ctor(String reportCode, String reportName) 位置 E:\Newproc\LDERP_MainProc\MainProc\WinFormUI\RO1\R010101.cs:行号 24
在 WinFormUI.FrmReport.TView_NodeMouseDoubleClick(Object sender, TreeNodeMouseClickEventArgs e) 位置 E:\Newproc\LDERP_MainProc\MainProc\WinFormUI\Main\FrmReport.cs:行号 381
OCX控件没有正确注册,或者它本身的构造函数丢出了异常。
用Vb6调用此控件,在XP和WIN7下都能正常使用,说明此控件在WIN7是正常注册了的
有高手能帮我解决一下这个问题嘛??
我也遇到这个问题了,我开发是用win10 64位,但是平台选用的是x86,编译好后,给到其他电脑使用,发现别的win7 32位电脑用不了,同一个控件,我用VB写的在win7 32位上就能运行,用winform写的,也是这个控件,怎么都用不了。
我花了1个月才写好的软件,现在只能在自己的电脑上运行,郁闷啊。该死的微软,自家的东西都不兼容。