|
发表于 2016-5-13 17:20:34
|
显示全部楼层
本帖最后由 ok927 于 2016-5-13 17:23 编辑
6 G0 H1 I' ] M4 F7 L9 f) b! _9 y) ]! M/ t
# \1 g! I* T+ D" \. Y3 Q) N+ J- \. D# u
; z" ~8 u' q( A) ^更新版也是一样的,点save时就会出错。
+ e S9 j7 d# K3 S, a/ H/ ~
8 K. J# k+ Q; N( h+ T8 g8 B0 Y操作系统:win10 x64和win8.1 x64都是一样的出错信息。
0 h- I4 d: `, y. g0 }
. |' e* {4 E5 r$ w- w Z" Z, i/ Y% F% r有关调用实时(JIT)调试而不是此对话框的详细信息,; ~. `* e0 _4 j" V$ T
请参见此消息的结尾。, m( }9 [3 l) ^( I8 V2 @/ ~
7 c5 Y7 ?( [% I) N9 a/ p* }8 ^
************** 异常文本 **************0 w; I) U2 e) y K
System.NullReferenceException: 未将对象引用设置到对象的实例。# O! `: P0 v2 ]
在 Picture_Capture.Form1.PicQuality(Bitmap BMP, String nFile, Int64 n)2 Y/ d6 K6 b! s. t
在 Picture_Capture.Form1.Button2_Click(Object sender, EventArgs e)# C1 F8 c% `. q& v f/ t3 _
在 System.Windows.Forms.Control.OnClick(EventArgs e)
7 t1 e2 s$ E3 W: e/ l* P0 p+ y 在 System.Windows.Forms.Button.OnClick(EventArgs e)) S+ w' L9 S0 I" }4 `6 C/ k0 W! I# V
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)9 g' s+ B; i9 B
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks): i9 I& h+ g2 U% w8 c: z, k u# L
在 System.Windows.Forms.Control.WndProc(Message& m)
( {9 Y) d1 o$ g+ r3 K 在 System.Windows.Forms.ButtonBase.WndProc(Message& m)# [( x% J8 z- o
在 System.Windows.Forms.Button.WndProc(Message& m)
" m2 H5 W0 R$ c7 ~" Y& [ 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
$ r- l, w0 g( i5 j 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)& @" i% s$ a- z% T7 A
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
) L( s* o. o2 I3 `; w& D
* X0 \; B! M% T, Y3 P/ {0 A: T9 L, i9 g3 o/ p8 s% v% A3 Q! ~
************** 已加载的程序集 **************; E+ D& t5 Z( ~
mscorlib2 k9 N0 Q& ]* A# S& k
程序集版本:4.0.0.0" p5 `# B; j& N9 y2 E1 k$ `
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR
6 [: x/ n2 g: C8 z% _ 基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll M; B( S T( z- n2 ^- Y
----------------------------------------
, ?! a5 w$ r4 e8 iPicture_Capture( d! ?) q; ~, G0 `. }
程序集版本:1.0.0.0
% ]1 R. E4 v! w: H" |: i Win32 版本:1.0.0.0% u8 s. J% I" ^$ [* L5 B( C
基本代码:file:///C:/Program%20Files%20(x86)/Picture_Capture/Picture_Capture.exe
: y V0 `) ~+ ? X9 q----------------------------------------+ m' g: k [3 f) U1 F* _
Microsoft.VisualBasic1 S/ u. L* }8 A
程序集版本:10.0.0.0
# e+ z2 S7 u* H5 R y2 H Win32 版本:12.0.20806.33440 built by: FX45W81RTMREL
" J5 H1 O: r$ y/ B 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
" h' q5 @2 o4 H8 X. W4 f----------------------------------------
6 P) h1 U. y5 H* y! w% H- y' `System
7 i4 |- o7 G4 F5 {- t" |' Y3 @$ P) x 程序集版本:4.0.0.0
4 w1 Z9 N3 D: i/ E; l. w3 ~% c Win32 版本:4.0.30319.36350 built by: FX452RTMLDR
0 c k: f( ], e# b% b0 m 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll# a- a. x7 ]) i- J1 w# b; w4 c! j R
----------------------------------------* r8 X$ y; K) ?* u1 k4 Z0 Q/ n3 l
System.Core
) E* r/ w6 l6 e3 D- }0 v: V 程序集版本:4.0.0.02 r5 R3 V& _0 o0 w4 l
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR3 v, H" C8 T, t/ A
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll4 _5 q' B- E7 T0 N( m
----------------------------------------
% X$ b+ p! U/ K% [- A9 MSystem.Windows.Forms
# F4 [+ u, ]/ }* F H0 X) V 程序集版本:4.0.0.0( t7 V$ I, V6 E) ~
Win32 版本:4.0.30319.34250 built by: FX452RTMGDR- b5 _' d F% @- x( B! D
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll+ w& z0 V% F. b- U) V
----------------------------------------
1 _" t# _) P+ g: j! [' s6 s, zSystem.Drawing
9 f# C; w* }) V$ } _9 W" p 程序集版本:4.0.0.0; w6 X+ v' c( x/ ^7 g; f
Win32 版本:4.0.30319.36337 built by: FX452RTMLDR! i f$ Y1 I2 W" \; r3 `) c+ m6 N
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll1 b7 X7 q. e% I
----------------------------------------
" \6 o, m/ Z& c; I8 L+ @, OSystem.Runtime.Remoting
5 W; a' b7 ?8 ]/ U l& r3 I2 ~ 程序集版本:4.0.0.0
8 u/ k0 |, ^& T% \" b' ]+ ? Win32 版本:4.0.30319.34243 built by: FX452RTMGDR, T$ d Q, A( s; C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
1 k1 X, x+ U0 w& u2 ^! ~. l----------------------------------------- z2 W- @2 C1 `, Q4 Q0 q
System.Configuration
! B" `3 \( v% S* r 程序集版本:4.0.0.00 |9 w4 M3 _- s* }: o) h2 q
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR# n; z5 O# d2 L% v! u; x
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
( Q/ Q0 m4 r5 ]----------------------------------------
9 X6 e( S0 `0 _% M7 FSystem.Xml
- Z0 M. N9 Y2 |/ f" r 程序集版本:4.0.0.07 F: N$ |; U9 ~' m, s
Win32 版本:4.0.30319.34281 built by: FX452RTMGDR* C0 Y+ C# O% w! s, |6 [* k
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll8 f/ {% N7 M6 a+ f0 V
----------------------------------------
$ K- P7 `, O0 |) A6 z! L% \mscorlib.resources/ P4 I( I$ o* V% }) E
程序集版本:4.0.0.0
: v/ a* e( f% U0 R1 F Win32 版本:4.0.30319.34209 built by: FX452RTMGDR( e1 A W8 z& i! t, G
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll' Z: q; k2 z, Y- O% f' q
----------------------------------------: J, k% ^" ^, ?
System.Windows.Forms.resources
" u! w( U2 M# B 程序集版本:4.0.0.0
3 z" \7 P) K9 s$ T4 R. R) E Win32 版本:4.0.30319.36213 built by: FX452RTMLDR& _: B/ N. ^8 r
基本代码: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
* P( c0 S6 j' x+ \/ k# l5 K) a----------------------------------------. K; m! }9 P8 @/ U# h6 X. z
/ k+ c! }" g3 d. Y3 g2 N
************** JIT 调试 **************
: e2 C7 P# B. z* w1 C- Y要启用实时(JIT)调试,) K5 `7 z( P1 e2 b
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置1 }/ J9 O) H# w d4 d6 ?
jitDebugging 值。8 f# q! P9 ], \9 C
编译应用程序时还必须启用
- Z2 h! d* d" `9 E调试。
: ^8 U% E6 \$ o/ V; x3 \
9 Q0 M+ z) x* z( v& T例如:
1 Y1 X) U# M2 ]' }& h# {- d/ {7 I0 i4 w& k" H( j% A6 M$ o$ u4 T
<configuration>
: f% L9 k* p& Q9 X0 M9 \ W <system.windows.forms jitDebugging="true" />
! r5 |/ S7 v. f7 r* \4 \' u</configuration>
% k" j R: @1 k$ M
r% c5 T* V1 [2 Y启用 JIT 调试后,任何未经处理的异常
2 c' O' j$ w/ Y4 P; O都将被发送到在此计算机上注册的 JIT 调试器,
, F l) s7 v* p: E9 T而不是由此对话框处理。
& t8 g V: `) g$ r1 F4 S
; q5 j f) r4 Q; }+ M; E# V8 R9 w d! E, I6 ]; E% ~
|
|