最近在研究一.NET程序,修改了主程序后,程序可以正常运行,并显示注册成功。但程序的功能并没有开放,也就是并没有真正地把它搞破,空欢喜一场!继续深入,终于跟踪到了核心部位:一个用于注册算法的DLL文件,问题便出现了,对这个DLL文件的任何一点改动都会使程序无法运行,系统给出以下为错误信息:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at h.a(Boolean A_0)
at k.h(Object A_0, EventArgs A_1)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)