[Windows 8] Flip 3D policy error when loading

Nov 9, 2012 at 8:17 PM

Hi

I love OnTopReplica as I have 2 screens which are on different sides of the room, and when I have a film on full screen on one, I can have it in a window on another.

I have just installed Windows 8, and OnTopReplica does work, but every time you open it it comes up with a Microsoft .NET Framework error, as detailed at the below, although clicking Continue does open the program.

Can you please provide a fix to this, or suggest how I fix the error coming up.

Thanks
Adrian

 

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Unable to change window Flip 3D policy.

Details:

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

************** Exception Text **************
System.Exception: Unable to change window Flip 3D policy.
   at WindowsFormsAero.Dwm.DwmManager.SetWindowFlip3dPolicy(Form form, Flip3DPolicy policy)
   at OnTopReplica.Platforms.WindowsSeven.PostHandleFormInit(MainForm form)
   at OnTopReplica.MainForm.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmCreate(Message& m)
   at WindowsFormsAero.Dwm.Helpers.GlassForm.WndProc(Message& m)
   at OnTopReplica.AspectRatioForm.WndProc(Message& m)
   at OnTopReplica.MainForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
OnTopReplica
    Assembly Version: 3.3.2.0
    Win32 Version: 3.3.2.0
    CodeBase: file:///C:/Users/Adrian/AppData/Local/OnTopReplica/OnTopReplica.exe
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
WindowsFormsAero
    Assembly Version: 1.5.0.0
    Win32 Version: 1.5.0.0
    CodeBase: file:///C:/Users/Adrian/AppData/Local/OnTopReplica/WindowsFormsAero.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.6387 (Win8RTM.050727-6300)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.


Coordinator
Nov 10, 2012 at 8:26 AM

Hi Adrian,

thanks for your feedback. I'm glad you find OnTopReplica useful. I am aware of the bug in Windows 8 and a fix has already been committed, I'm trying to complete the additional feature I'm working on in order to push an update which will be fully compatible with Windows 8. Should be coming in next days/week. :)