当前位置: 代码迷 >> C# >> 求C#大神,反编译后的程序正常打开,但在使用过程中有异常
  详细解决方案

求C#大神,反编译后的程序正常打开,但在使用过程中有异常

热度:113   发布时间:2016-05-05 03:44:10.0
求C#大神,反编译后的程序正常打开,但在使用过程中有错误
小白求帮助,需要源文件的话 留下邮箱~!



详细错误信息如下:
未处理System.Runtime.InteropServices.COMException
  _HResult=-1073430432
  _message=异常来自 HRESULT:0xC004C060
  HResult=-1073430432
  IsTransient=false
  Message=异常来自 HRESULT:0xC004C060
  Source=SWbemObjectEx
  ErrorCode=-1073430432
  StackTrace:
       在 Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
       在 Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
       在 MSAct_v1._1.Form1.InstallandCheckProductKey() 位置 c:\Users\sad\Documents\Visual Studio 2013\Projects\MSAct v1.1\MSAct v1.1\Form1.cs:行号 548
       在 MSAct_v1._1.Form1.button4_Click(Object sender, EventArgs e) 位置 c:\Users\sad\Documents\Visual Studio 2013\Projects\MSAct v1.1\MSAct v1.1\Form1.cs:行号 95
       在 System.Windows.Forms.Control.OnClick(EventArgs e)
       在 System.Windows.Forms.Button.OnClick(EventArgs e)
       在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       在 System.Windows.Forms.Control.WndProc(Message& m)
       在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
       在 System.Windows.Forms.Button.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)
       在 MSAct_v1._1.Program.Main() 位置 c:\Users\sad\Documents\Visual Studio 2013\Projects\MSAct v1.1\MSAct v1.1\Program.cs:行号 19
       在 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: 

------解决思路----------------------
估计只能你自己调试了
------解决思路----------------------
引用:

截图放大也看不清楚
  相关解决方案