|
|
发表于 2016-5-13 17:20:34
|
显示全部楼层
本帖最后由 ok927 于 2016-5-13 17:23 编辑
* I4 k8 }8 Z$ q" c3 R' K% [/ y' r5 m" c& d0 g& z
! }( [9 [) V G1 x( i q& f
$ X$ L/ q0 X1 ^- p. \! z- W4 S
# x) ]# N9 H1 ~6 e更新版也是一样的,点save时就会出错。! y# ~) e2 `! [8 d8 L' {4 H5 t
4 Z+ H3 u3 \/ n1 T& x操作系统:win10 x64和win8.1 x64都是一样的出错信息。" P1 O: p3 N `! s- J X, s
X* k ^$ m. i j有关调用实时(JIT)调试而不是此对话框的详细信息,. x& g! J( ^* D
请参见此消息的结尾。9 i8 v/ T: G; E) _$ w3 t
- a p9 l- P' p( T) K
************** 异常文本 **************; e1 i. c: \2 H( ^4 }. b4 |
System.NullReferenceException: 未将对象引用设置到对象的实例。
' ~3 i9 ^) P( \9 R6 H7 c) E( p! N9 O 在 Picture_Capture.Form1.PicQuality(Bitmap BMP, String nFile, Int64 n)8 q" q7 U: u t
在 Picture_Capture.Form1.Button2_Click(Object sender, EventArgs e)) c: N+ `7 j8 y! T& L
在 System.Windows.Forms.Control.OnClick(EventArgs e)8 z6 n* K2 m/ l& @
在 System.Windows.Forms.Button.OnClick(EventArgs e)0 n# R" G l; W/ u& @5 c6 ]) f
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)5 R6 [7 }" Q' q( [# M
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks), n( y- N) D# v9 s8 u9 l
在 System.Windows.Forms.Control.WndProc(Message& m), S8 I3 J% X' N" P
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
+ I2 ]4 V* ~# x5 @- k 在 System.Windows.Forms.Button.WndProc(Message& m)
. w! p. k8 z6 s- c 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
( Z6 P: o0 L k# j5 j5 ~+ b 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)/ }' Z V# m+ x, q7 C; w
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam), w. B! X O$ ]( k* j
$ [4 Y! {9 V5 o
# ^# R# |) ?3 M# E+ L
************** 已加载的程序集 **************- M6 r6 @7 Q" V* s6 J
mscorlib
& Z9 O. E, u* p& ] 程序集版本:4.0.0.00 D7 G6 z' T# G/ Z$ Y
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR' H0 E g$ N O4 M
基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
9 \% o {! G" A$ ^& {( W4 @% e6 ~1 P----------------------------------------% s) ` R6 }. T* H; G7 o& d
Picture_Capture- o% P6 I: F- C2 Z
程序集版本:1.0.0.03 P5 P, h# U8 z% z3 a) ]- _
Win32 版本:1.0.0.03 g [' e6 e' s8 b, L& V, j9 Z1 N
基本代码:file:///C:/Program%20Files%20(x86)/Picture_Capture/Picture_Capture.exe4 S% m J8 R1 i1 |# C, B- S9 Z- _
----------------------------------------
# q [ x8 E( K. X) d0 j. aMicrosoft.VisualBasic6 t2 W6 |7 x, |' ~* B
程序集版本:10.0.0.0- Y- s. L3 v: C! c9 U" h
Win32 版本:12.0.20806.33440 built by: FX45W81RTMREL. j' _* K1 I$ U% f# `
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll' l& ^+ T5 e* d& k) j+ u
----------------------------------------
/ b& q1 F4 E6 ^: SSystem
; O5 z! D- I" J: G! \ 程序集版本:4.0.0.03 f$ W- |+ f! C- Q! N& x) Q
Win32 版本:4.0.30319.36350 built by: FX452RTMLDR) C8 ]; r6 _1 L- |
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
8 m8 J# M. j/ ]) y----------------------------------------8 x' S: P/ |6 s7 r$ P
System.Core! m- y: R- Z* N1 `; q0 N0 c
程序集版本:4.0.0.08 s' d% |( H5 T b1 d' X3 [& R
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR! L4 U# P& \$ q) X Q+ x
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
! Q. {6 n' f( S8 Y X----------------------------------------' y* U T+ @: [" b+ Y( M
System.Windows.Forms( w# z t# J0 F
程序集版本:4.0.0.03 E+ D! P6 b F9 M; {8 F' E8 \
Win32 版本:4.0.30319.34250 built by: FX452RTMGDR
1 b$ U9 D' O1 s! \ c& H3 A 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
& ?9 Y; }. V" Y7 o# [: @/ B+ _----------------------------------------
) {& {4 L& J5 X6 [+ CSystem.Drawing
4 w. s% M- o: N x, i4 C5 z- x 程序集版本:4.0.0.0
" c5 F. k7 u0 y, n% Y Win32 版本:4.0.30319.36337 built by: FX452RTMLDR
$ R& f, w; H& e* } 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
L8 a$ p b3 Y# b" X( ]7 x----------------------------------------
4 A* ~: m: J t: R, sSystem.Runtime.Remoting
; P& B. @/ u9 v4 P) w" n! ? 程序集版本:4.0.0.0
, K8 A% l$ {3 ~6 n9 R, A Win32 版本:4.0.30319.34243 built by: FX452RTMGDR
7 w4 E% i& c9 I! W+ H- ]0 j 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll. T7 C+ h, ]6 g7 D a2 h/ R
----------------------------------------
5 B1 o9 E* m& @5 S LSystem.Configuration
& ? Z6 Y; n( q 程序集版本:4.0.0.0
5 r( ^/ |, d, ^ _$ S Win32 版本:4.0.30319.34209 built by: FX452RTMGDR
. [' k5 f0 H! C2 E* l! H 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
/ X0 |+ n. N3 ~# Q7 G9 u----------------------------------------
. D9 S1 G0 ^. j+ M1 X1 l1 ASystem.Xml. k8 W) o8 `8 |+ w' V$ u$ L$ n
程序集版本:4.0.0.08 |, W+ S; t9 _; Q. l) u1 N
Win32 版本:4.0.30319.34281 built by: FX452RTMGDR
$ o& S+ R; f1 F& D; Q% N 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll0 H% j* ?, M% A! \& ~. ^
----------------------------------------
' r8 `9 g8 {; ^' B7 m4 H$ ~mscorlib.resources
: q; I: I# k7 }8 S: _1 Q' W 程序集版本:4.0.0.02 L) o' `+ j. O% y- E( ?
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR- q* E: c0 }1 [' v
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
" Z7 g( S" _% r, d8 B----------------------------------------4 k+ |9 E3 [! T! i# |" p
System.Windows.Forms.resources
/ T) F- h+ g9 M 程序集版本:4.0.0.0) g$ ~3 g, ?" I2 o
Win32 版本:4.0.30319.36213 built by: FX452RTMLDR. m2 p8 r1 Q% t8 P% 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
+ m$ t! B+ {! I9 T; q. u3 Z, s----------------------------------------. u \. G5 R9 S6 v6 U; @! y
7 ]0 {6 C! }6 \! E. J
************** JIT 调试 **************+ D6 ^5 m7 P# l; E+ ?. p4 O7 y- G
要启用实时(JIT)调试,
; Y1 \; G- G) b$ I该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
' m8 Z; L3 W c( ~8 b8 }" l0 {jitDebugging 值。2 i& Y; i2 E9 N1 W3 ?( h
编译应用程序时还必须启用" ?1 }& A' ?" W V0 _, ~
调试。
7 [8 H- x" g) b) `
' [7 w" x3 |5 q! L! \' D: {例如:
: {/ D4 w: [% l' F7 [- j7 R
3 {; \2 | c" Z' ?* R O0 d1 q" F. s<configuration>
$ t5 R5 v3 N \* k W* e! }* ] <system.windows.forms jitDebugging="true" />
, C& {( Z% @1 r, ]3 y" [</configuration>
& \; @4 X9 M1 u# B G1 @. }& U# {( q0 p) Y5 q% i( N- |
启用 JIT 调试后,任何未经处理的异常6 O& n5 [, l) n8 j! |; f/ ?
都将被发送到在此计算机上注册的 JIT 调试器, h( r7 D- O- J% D' M
而不是由此对话框处理。2 P7 n9 e' @6 w$ G
Q3 V: V8 P0 z) C: g$ i& e( c7 ], y
4 E+ X: B' q9 T1 C' A |
|