|
发表于 2016-5-13 17:20:34
|
显示全部楼层
本帖最后由 ok927 于 2016-5-13 17:23 编辑
6 z6 b7 D) ]8 M
& H/ N* l- K- m" ~! J
# C) e; a; F2 @* B. J
$ B9 n" [% n% h* ]6 p# c
" H1 a+ x* Y6 T% Q7 N) _. R5 k更新版也是一样的,点save时就会出错。0 b1 Y( O# o- L1 N2 L8 R0 K
$ s+ m5 B8 s% Y, d; ]
操作系统:win10 x64和win8.1 x64都是一样的出错信息。 u/ m% @, J$ t# r6 ^$ k# O, I' U. X7 `
# i5 W) I$ ]) c( q6 [4 @+ L
有关调用实时(JIT)调试而不是此对话框的详细信息,
' N$ J9 C' \% Z: \! @请参见此消息的结尾。2 O! d% F, P$ x' {9 `
1 U4 V6 q5 T. F************** 异常文本 **************
b% }9 {3 w; @& TSystem.NullReferenceException: 未将对象引用设置到对象的实例。0 S- j4 m0 M" M m1 ?: D/ z7 X
在 Picture_Capture.Form1.PicQuality(Bitmap BMP, String nFile, Int64 n)
: K( w# Y9 F0 T3 V 在 Picture_Capture.Form1.Button2_Click(Object sender, EventArgs e)
( z( [+ B3 i, b9 u6 j" H 在 System.Windows.Forms.Control.OnClick(EventArgs e)% \( b9 @4 Z# r0 n6 {
在 System.Windows.Forms.Button.OnClick(EventArgs e)
3 l7 ]+ g. H, E7 W { 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
' `! a& { d2 z: C5 J _% H4 d$ e, _ 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
/ A s" ~- ~2 n: r: B$ z 在 System.Windows.Forms.Control.WndProc(Message& m)' ?. X4 n, i1 G6 y
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)1 t3 ]/ h& b3 e' v/ N i Z
在 System.Windows.Forms.Button.WndProc(Message& m)
2 s% D% t5 w/ c) Z5 z1 N8 R4 _- } 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)) c- c* W+ R$ }5 B, \: s
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m), ]4 k6 x5 D1 V. D
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)! g% w+ t0 X- C4 f9 w3 |
! e, D. k* M8 R
6 g$ p. M: C6 h/ a************** 已加载的程序集 ************** k- }- O( a3 x! f9 z- g5 @% a
mscorlib* [" w5 Y, s/ W# @% f
程序集版本:4.0.0.0
0 {$ D& i; g2 V9 p Win32 版本:4.0.30319.34209 built by: FX452RTMGDR
N. F9 R# `* S6 b 基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
' L! [+ `) ?1 ^6 J' r* {4 w----------------------------------------
9 f) S' L0 @) r7 MPicture_Capture# ^/ H m# W/ ^1 _& h: D2 @
程序集版本:1.0.0.0/ z! s4 m# F$ ?
Win32 版本:1.0.0.0
- V( w+ G9 C4 {% J1 ~. E 基本代码:file:///C:/Program%20Files%20(x86)/Picture_Capture/Picture_Capture.exe7 n9 q) f0 I" x2 v" D
----------------------------------------- L2 s; F3 a" S+ }* W; F
Microsoft.VisualBasic8 M' S1 Z. {0 C- R8 h
程序集版本:10.0.0.0; c5 T8 L. V4 ?
Win32 版本:12.0.20806.33440 built by: FX45W81RTMREL0 {) a# R5 Z9 w6 }. b; N. l' b
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll8 |5 G0 A4 w- B, l% s
---------------------------------------- e. [6 K' u/ c0 ~: d% c o
System
$ R* c r# h! k0 P. Z) }! L D 程序集版本:4.0.0.0
2 e# E$ `- N" g2 a1 ]6 |( A Win32 版本:4.0.30319.36350 built by: FX452RTMLDR
6 @: k0 Y; t' r# _ 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll& C1 b% A4 ~0 \! Y
----------------------------------------. v* i& u7 [! B& v0 Q, |. M9 F# S
System.Core
3 S p+ ^0 K( y" L( ]- Q 程序集版本:4.0.0.0
5 T' ]3 a+ z$ L5 a- p: O Win32 版本:4.0.30319.34209 built by: FX452RTMGDR' p. H4 s. g6 {$ a
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll6 R* \8 f7 A$ e: q5 Z1 O2 ^6 t
----------------------------------------
! z4 ?. r {! \) C/ i( Q0 D7 u& ESystem.Windows.Forms
" [/ ?- {( S1 P. y7 f3 \ 程序集版本:4.0.0.0
, a' H$ r, n$ N" e( a" J; o& L% _ Win32 版本:4.0.30319.34250 built by: FX452RTMGDR
5 h+ u. ^1 H+ j1 a$ J. L. A) l. e 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll& i- l# N# N6 U4 x
----------------------------------------3 `1 n" B- u+ x0 [
System.Drawing
( h, ]( |( ~2 t# Y2 l/ x( v ?) s8 _ 程序集版本:4.0.0.0
7 ^0 q G# j. _2 c1 p+ t( v Win32 版本:4.0.30319.36337 built by: FX452RTMLDR/ D9 V( P4 D7 P' a4 T; L2 J& H
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll2 E0 g5 ~4 I5 j
----------------------------------------
$ z) k( m/ t' H9 |: A5 d5 {System.Runtime.Remoting8 }) E. s- ^: i4 r/ B! [
程序集版本:4.0.0.06 w) Y f5 a" o! u" r H6 f" F
Win32 版本:4.0.30319.34243 built by: FX452RTMGDR
- g5 R0 x- \- w) j7 J+ l* _+ g4 H4 [ 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
7 ^9 X5 p, ]$ [ ~( S% W6 ^----------------------------------------8 s5 o+ s( q$ e% ]2 u; x
System.Configuration+ u2 I; p6 q- {" k% p4 Q
程序集版本:4.0.0.0& z4 D$ \$ K0 @4 n0 V: Y
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR: ?6 k; y- S' ^# o
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll0 e1 s4 `, s# m& j. G' \
----------------------------------------
- V! h5 {3 a/ ~6 l- i4 z' {System.Xml% p0 n* [9 T! C( ^- ~. r: r2 h
程序集版本:4.0.0.0
, ?6 O6 C& ^! u! o Win32 版本:4.0.30319.34281 built by: FX452RTMGDR
" ~& y; q/ F9 P c+ m 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
; E9 p/ q' R9 b' h$ h" V, @' B----------------------------------------! W# C: A0 N# s2 U
mscorlib.resources# N {. N, L, J% ~, `5 R' x
程序集版本:4.0.0.07 F4 |+ E' u$ w3 ?3 T
Win32 版本:4.0.30319.34209 built by: FX452RTMGDR/ a- \5 ]# l' Z3 T
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll! q" P, \: Y* J2 Z: C. U. `- G
----------------------------------------6 t: x* N# R2 {$ X/ r* S
System.Windows.Forms.resources
) s6 p: U% M+ U: ]1 d- o 程序集版本:4.0.0.0
- k3 n4 x- U1 e( t6 Y' A' B Win32 版本:4.0.30319.36213 built by: FX452RTMLDR. O# E9 J+ ^: P4 e* m! Q
基本代码: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: u7 M N" X6 g ~, o
----------------------------------------
9 ^" w/ I8 I+ T- ?: g. q8 q1 H, ]! T% m" Y* E* j
************** JIT 调试 **************
# |* l+ t+ n; s" ~2 S3 d要启用实时(JIT)调试,
4 }# [& ~; ^5 ?5 W7 H该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
: C. F9 U7 F. y LjitDebugging 值。$ _9 ?- ~( x) Z
编译应用程序时还必须启用# ?" u5 b, T4 Z3 u
调试。
" \- s3 ~) i( t# B. b
/ n6 L/ M8 Y H* A例如:" s5 ~1 x- ?- V" [# o0 M+ r/ w
8 H1 y& w4 g X' {<configuration>
1 M( A9 O4 s4 ^7 I. I6 F4 C <system.windows.forms jitDebugging="true" />. g( l) f; g( U9 Y) J6 f! {) n& X
</configuration>8 O# i! ], e9 N7 t# I
7 a7 f# `$ S5 u L
启用 JIT 调试后,任何未经处理的异常# i5 J/ n) P0 z, L
都将被发送到在此计算机上注册的 JIT 调试器,
6 m0 h; t) Q# U而不是由此对话框处理。' _& V( ]9 B! A- i& {% v
5 ~: M0 O9 i& M8 x3 g3 p( K
4 @# h) M) o ]+ P5 a0 v, u* m) Z+ C |
|