Menu

#3 bug when i exeucte your code

open
nobody
None
5
2006-05-12
2006-05-12
Anonymous
No

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog
box.

************** Exception Text **************
System.ArgumentException: The parameter is incorrect.
at prjSpectrum.modSpectrum.SetDIBitsToDevice(Int64
hDC, Int64 X, Int64 Y, Int64 dx, Int64 dy, Int64 SrcX,
Int64 SrcY, Int64 Scan, Int64 NumScans, Byte& Bits,
BITMAPINFO& BitsInfo, Int64 wUsage)
at prjSpectrum.modSpectrum.UpdateSpectrum(Int32
uTimerID, Int32 uMsg, Int32 dwUser, Int32 dw1, Int32
dw2) in E:\Media Player All\Article 09.05\bass22
\vb\Spectrum\VB.Net Solution\modSpectrum.vb:line 195
at prjSpectrum.frmspec.tmrSpectrum_Tick(Object
eventSender, EventArgs eventArgs) in E:\Media Player
All\Article 09.05\bass22\vb\Spectrum\VB.Net
Solution\frmspec.vb:line 221
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.DebuggableCallback
(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/ms
corlib.dll
----------------------------------------
prjSpectrum
Assembly Version: 1.0.2322.14255
Win32 Version: 1.0.2322.14255
CodeBase: file:///E:/Media%20Player%20All/Article%
2009.05/bass22/vb/Spectrum/VB.Net%
20Solution/bin/prjSpectrum.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.
0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a
5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000
.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
AxInterop.MSComDlg
Assembly Version: 1.2.0.0
Win32 Version: 1.2.0.0
CodeBase: file:///E:/Media%20Player%20All/Article%
2009.05/bass22/vb/Spectrum/VB.Net%
20Solution/bin/AxInterop.MSComDlg.DLL
----------------------------------------
Interop.MSComDlg
Assembly Version: 1.2.0.0
Win32 Version: 1.2.0.0
CodeBase: file:///E:/Media%20Player%20All/Article%
2009.05/bass22/vb/Spectrum/VB.Net%
20Solution/bin/Interop.MSComDlg.DLL
----------------------------------------
Microsoft.VisualBasic.Compatibility
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3077
CodeBase:
file:///c:/windows/assembly/gac/microsoft.visualbasic.c
ompatibility/7.0.5000.0__b03f5f7f11d50a3a/microsoft.vis
ualbasic.compatibility.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase:
file:///c:/windows/assembly/gac/microsoft.visualbasic/7
.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/accessibility/1.0.5000.
0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config
file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms
section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the
machine
rather than being handled by this dialog.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB