|
发表于 2016-5-13 17:20:34
|
显示全部楼层
本帖最后由 ok927 于 2016-5-13 17:23 编辑
2 T+ }# n. H* C3 ]
2 v( J3 t5 d' E0 _9 v- Z% o' t4 H1 ~+ a4 e6 k9 f
' U) a9 Q2 j/ P, r
" q) G, g" ]. \1 d- j
更新版也是一样的,点save时就会出错。
5 r# m# s1 G/ a8 R3 G5 X
! s, e6 h& f, X操作系统:win10 x64和win8.1 x64都是一样的出错信息。) k7 H- N# @+ l
+ x$ K- _% f7 |0 f2 n有关调用实时(JIT)调试而不是此对话框的详细信息,
3 u( s* s6 ^8 h" K8 \请参见此消息的结尾。6 @: R+ w0 F" J$ x! ?- `
( Y) L# t: g7 m) Y5 q0 S: j& m************** 异常文本 **************
H7 F+ `& m M* FSystem.NullReferenceException: 未将对象引用设置到对象的实例。# Z. N$ [" M9 K% m1 H6 K
在 Picture_Capture.Form1.PicQuality(Bitmap BMP, String nFile, Int64 n)
4 `& z2 z7 Q/ t O$ B 在 Picture_Capture.Form1.Button2_Click(Object sender, EventArgs e) k1 F6 x! e; g/ P7 p. v
在 System.Windows.Forms.Control.OnClick(EventArgs e)
6 d* |% G* X& D7 p 在 System.Windows.Forms.Button.OnClick(EventArgs e)
( F4 k! K4 k/ {' M 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
: e+ P! u* @, Z 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks), l/ \1 p3 L! o: ^
在 System.Windows.Forms.Control.WndProc(Message& m)/ c7 _5 _. G2 X7 b) N
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
3 E5 c+ p; _' X/ M- D9 ^ 在 System.Windows.Forms.Button.WndProc(Message& m)
2 i$ v, ?0 B' S9 |! b! ~ 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
" X/ @ ]) M1 Y8 q' U1 o; K 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)+ n5 g7 f7 r7 j5 P6 U
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam): r5 n4 s8 W* T7 U: H: ~
% \; @2 E6 V. }& s
) {' ~/ v( a( b$ l" Z************** 已加载的程序集 **************
; P G. Y1 Z6 U! [4 X6 Amscorlib
A) p( S u n 程序集版本:4.0.0.0
5 p5 G ^9 v% x Win32 版本:4.0.30319.34209 built by: FX452RTMGDR
: n' x% S" h" w; {9 f' v& U# E" A 基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
9 S: `) d" {- b4 F6 H# u/ S2 F: x----------------------------------------' C1 B, j0 w2 u( s* s
Picture_Capture
9 v% p6 d: K; p 程序集版本:1.0.0.0
V( V9 b7 M8 [4 H1 \0 H9 x Win32 版本:1.0.0.02 N9 ]: W2 ^( U" ^% N# |
基本代码:file:///C:/Program%20Files%20(x86)/Picture_Capture/Picture_Capture.exe
4 N( H) Q. X; `2 s3 Q6 m. T7 b) Q----------------------------------------
2 ]8 X8 z# i7 V5 l5 qMicrosoft.VisualBasic! O: U& Z- b; G7 {3 R
程序集版本:10.0.0.0* Z9 s0 m7 N9 ]/ O$ V
Win32 版本:12.0.20806.33440 built by: FX45W81RTMREL
+ \9 M5 H9 B3 u" _ 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
& O$ S% h" o+ a- A; p, K----------------------------------------2 g; |- F; U1 q- a; I
System
& D$ M( ?; t$ y6 u6 S6 L5 B 程序集版本:4.0.0.0+ X3 k# B1 C) h/ w' l5 Y
Win32 版本:4.0.30319.36350 built by: FX452RTMLDR7 m5 Y5 {4 v. b) z# m
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
0 p2 ]7 I: \7 b9 V* ~! ~% j----------------------------------------; h: t% Q+ p+ ~/ g% [
System.Core4 w# d% z! i; r
程序集版本:4.0.0.0" w+ c% J* W+ Y$ {
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR
. G. T" \8 F2 _: M; } 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll2 Y( g# n+ P% F* {
----------------------------------------
7 h# i& K# \: v/ }9 S- e' mSystem.Windows.Forms
9 m: d5 O/ R3 M, \% D8 \) B 程序集版本:4.0.0.0$ f/ m$ h! I8 _- _+ K q
Win32 版本:4.0.30319.34250 built by: FX452RTMGDR1 P0 \1 _( W1 [8 ]
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll4 H' J0 V6 h0 @
----------------------------------------
7 Y* d6 t0 m2 gSystem.Drawing
# D$ `% }+ m9 Q# ?8 o5 u$ n 程序集版本:4.0.0.0
! [ V( R! O% Q% Z. w# I" C2 c Win32 版本:4.0.30319.36337 built by: FX452RTMLDR' b) P$ s+ J9 E( C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll0 {, I, m9 ~# J5 R' y
----------------------------------------" F* ^* d" X% k& `
System.Runtime.Remoting
3 f i4 Q9 E0 ~+ `; u, W- r 程序集版本:4.0.0.0; D& [0 p+ u4 L, u5 Q* ^, ?
Win32 版本:4.0.30319.34243 built by: FX452RTMGDR7 R- P. O6 u9 n7 j- Z
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll5 L* l8 h# E" k* D" {
----------------------------------------
2 |) b& P2 Q1 G2 |2 W; [: t: T: [System.Configuration
/ k% v( O) _/ P, }0 e- a7 |3 w4 w 程序集版本:4.0.0.0" `9 `( W* } A7 u$ E
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR
0 t4 L) D4 W3 l( E8 a 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
& w( B- p, B; ^! r6 s1 \5 U# [3 R, y, C----------------------------------------. Q1 T; t8 V& f( ~5 m2 r8 h
System.Xml
4 e+ X' o5 a! H 程序集版本:4.0.0.0: H- i+ J2 q: C: S
Win32 版本:4.0.30319.34281 built by: FX452RTMGDR* a$ f1 g* {% Q) u
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
1 e- `, B$ d9 @8 i- r3 a) W----------------------------------------
% {, h$ T, v& q6 W- qmscorlib.resources
9 J5 n# i; U/ L 程序集版本:4.0.0.0. N/ \! B$ t- ?8 f
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR4 K0 E$ r: x4 Z, W
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll( F5 ]8 U: q y; j% D1 ?* a" v
----------------------------------------- l$ ^3 C* m H! W0 P; Q- [8 N
System.Windows.Forms.resources4 U$ H Q) x: @& N4 T1 C: p" `
程序集版本:4.0.0.0$ S; J x0 [6 Q4 s) j2 t* D; t
Win32 版本:4.0.30319.36213 built by: FX452RTMLDR" K3 ` L9 s; t& W: R8 _8 m% P
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
% U' h2 u% V& W6 ~3 i----------------------------------------! R0 L% u2 ^# r7 `2 N5 e7 b0 f! C
7 k3 m3 {) s$ {* L; F6 K3 M
************** JIT 调试 **************
4 V& o0 N2 b4 F) p6 c/ g要启用实时(JIT)调试,
1 [1 _8 }8 R- O2 a. I; @该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
3 T3 P/ n# _0 ]% GjitDebugging 值。
6 _0 |+ {4 C2 i Y! o编译应用程序时还必须启用/ R* H; h3 ~" W* B8 `/ H! q
调试。% `& t; ]1 P( A
' {# U# M4 M' F; Q例如:7 W0 C, f2 M; {
% s H( G( W* a1 c2 K
<configuration>. K! I# [; }# I9 {* s2 o* Z8 {
<system.windows.forms jitDebugging="true" />/ [& y0 q$ D* e" Z+ P3 N$ L& j
</configuration>
0 [; s* P1 ]5 Y% p8 v, f; w
2 M8 \8 [& i2 e. }启用 JIT 调试后,任何未经处理的异常3 s' n& L2 Z/ E4 Y8 w' K
都将被发送到在此计算机上注册的 JIT 调试器,
# G) I# p0 @$ u' a5 K2 u- Y而不是由此对话框处理。
# x) j6 T+ q' c0 b6 l$ I; I: d3 R, V# A. x
6 ~9 _: \0 V- l8 B* |3 r
|
|