Just got an unhandled exception error on the second level:
Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
Error in the application.
-2147467259 (E_FAIL)
at Microsoft.DirectX.DirectSound.Buffer.SetCurrentPosition(Int32 newPosition)
at NUI___Engine.SoundFX.PlaySoundPush()
at Garabox.MainForm.OnKeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 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/mscorlib.dll
----------------------------------------
Garabox
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/Garabox%20Underground/Garabox.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__b77a5c561934e089/system.dll
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.900.0
Win32 Version: 5.3.0000000.900 built by: DIRECTX
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx.directinput/1.0.900.0__31bf3856ad364e35/microsoft.directx.directinput.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
----------------------------------------
Microsoft.DirectX.DirectSound
Assembly Version: 1.0.900.0
Win32 Version: 5.3.0000000.900 built by: DIRECTX
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx.directsound/1.0.900.0__31bf3856ad364e35/microsoft.directx.directsound.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.900.0
Win32 Version: 5.3.0000000.900 built by: DIRECTX
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx/1.0.900.0__31bf3856ad364e35/microsoft.directx.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.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.
Including the .NET framework with the install is an interesting idea - didn't bother me personally, but modem users might be upset if they already have it and had downloaded 20 meg or so for nothing.
Still, it's an ingenious way round the problem, and I can't see a better way if you are reliant on .net.