C#呼叫pb創建的com組件進行加解密,pb代碼中存在對加解密函式動態庫參考,出現以下錯誤:
未處理System.Runtime.InteropServices.COMException
ErrorCode=-8320
HResult=-8320
Message=例外來自 HRESULT:0xFFFFDF80
Source=ItYesPacsWorkStation
StackTrace:
在 codehelper.In_codehelper.gf_decodekey(String vs_code)
在 ItYesPacsWorkStation.frmLogin.btnOK_Click(Object sender, EventArgs e) 位置 E:\ItYesPacs\ItYesPacsWorkStation\frmLogin.cs:行號 196
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 Sunny.UI.UIButton.OnClick(EventArgs e)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.Run(Form mainForm)
在 ItYesPacsWorkStation.Program.Main() 位置 E:\ItYesPacs\ItYesPacsWorkStation\Program.cs:行號 30
在 System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
InnerException:
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/264005.html
標籤:C#
下一篇:文字軌跡問題求解
