Author Topic: fullscreen projects dont run  (Read 1599 times)


  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger -
    • View Profile
    • Jam0864's Content Dump
    • Email
fullscreen projects dont run
« on: 2007-09-07, 07:39:44 PM »
Im not sure if its because of vista or if its because my widescreen screen resolution is different to the games screen resolution, but i cant run any SGDK2 project in fullscreen....

I get

An unhandled exception has ocured in a component in your application, click continue and it will try and ignore the error, blah blah blah
continue exits game
quit exits game and program

details below
Code: [Select]
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.
-2005530516 (D3DERR_INVALIDCALL)
   at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
   at Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnResize(EventArgs e)
   at System.Windows.Forms.Form.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(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.WmWindowPosChanged(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 **************
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/
Car Game
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Users/James/Downloads/Car_Game/Car%20Game/Car%20Game.exe
    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
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/
    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
    Assembly Version: 1.0.2902.0
    Win32 Version:
    CodeBase: file:///C:/Users/James/Downloads/Car_Game/Car%20Game/Microsoft.DirectX.DirectInput.DLL
    Assembly Version: 1.0.2902.0
    Win32 Version:
    CodeBase: file:///C:/Users/James/Downloads/Car_Game/Car%20Game/Microsoft.DirectX.Direct3D.DLL
    Assembly Version: 1.0.2911.0
    Win32 Version: 9.12.589.0000
    CodeBase: file:///C:/Users/James/Downloads/Car_Game/Car%20Game/Microsoft.DirectX.Direct3DX.DLL
    Assembly Version: 1.0.2902.0
    Win32 Version:
    CodeBase: file:///C:/Users/James/Downloads/Car_Game/Car%20Game/Microsoft.DirectX.DLL
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.3052.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualc/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualc.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 section.
The application must also be compiled with debugging

For example:

    < jitDebugging="true" />

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.


  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger -
    • View Profile
    • Find My Ed
Re: fullscreen projects dont run
« Reply #1 on: 2007-09-07, 08:29:50 PM »
Moving to fullscreen mode causes the resolution of your screen to change to the resolution of the game.  If your video card does not support the given resolution with your monitor, it may cause a crash.  Try setting your desktop resolution to the resolution of the game through the regular methods to see if it is possible to do so.  It may look stretched, but it would still be defined as working correctly.
Edward Dassmesser