尝试将供应商提供的* .ocx ActiveX对象与VS2012& .Net 4.5引发异常访问Interop方法 [英] Attempting to use a vendor supplied *.ocx ActiveX Object with VS2012 & .Net 4.5 exception thrown accessing Interop method
问题描述
使用VS2012创建的Interop Dll时会引发以下异常.
The exception below is being thrown when using the Interop Dll created by VS2012.
ActiveX对象可与安装在同一台计算机上的VB6应用程序一起使用.这种灾难性的失败是否表示缺少任何东西?
The ActiveX object does work with a VB6 application installed on the same machine. Does this catastrophic failure point to anything missing?
ErrorCode = -2147418113
HResult = -2147418113
消息=灾难性失败(来自HRESULT的异常:0x8000FFFF(E_UNEXPECTED))
来源= Microsoft.VisualBasic
StackTrace:
在Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o,类型objType,字符串名称,Object [] args,String []参数名,Boolean [] CopyBack)
在Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(对象实例,类型类型,字符串MemberName,Object []参数,String [] ArgumentNames,类型[] TypeArguments,布尔值[] CopyBack)
在GSVirtualDevice.OPOSDeviceWrapper.Open()
在GSVirtualDevice.GSVirtualIngenico6XXXPhysicalLayer.Initialize(SynchronizationContext上下文,SendOrPostCallback处理程序)中
在GSVirtualDevice.GSVirtualMultiDeviceInterface.DeviceWorkerThread()
InnerException:
ErrorCode=-2147418113
HResult=-2147418113
Message=Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Source=Microsoft.VisualBasic
StackTrace:
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at GSVirtualDevice.OPOSDeviceWrapper.Open()
at GSVirtualDevice.GSVirtualIngenico6XXXPhysicalLayer.Initialize(SynchronizationContext context, SendOrPostCallback handler)
at GSVirtualDevice.GSVirtualMultiDeviceInterface.DeviceWorkerThread()
InnerException:
推荐答案
你好,
如果您是标题中所示的供应商,那么您是否已请求该供应商提供帮助?
If this is from a vendor as you have indicated in the title, have you asked the vendor for assistance?
这篇关于尝试将供应商提供的* .ocx ActiveX对象与VS2012& .Net 4.5引发异常访问Interop方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!