This project has moved. For the latest updates, please go here.

v5 not working on Win7 SP1: "Wait time did not was enough" & invalid pointer for screen capture

Jul 6, 2015 at 10:34 PM
Hello everyone

trying for one week now to make OGAMA v5 work on my dual-monitor, Win7 SP1, .NET 4.5 - no success. I even tried debugging the code in Visual Studio, but can't replicate the problem within VS. The problems are the same no matter which eyetracker I use, including the mouse tracker. Any ideas or pointers to how I can debug this? Thanks!

Problem 1)
I add a website slide, then start a test, but only the first page screenshot gets saved. Whenever I click on a link, I get "Wait time did not was enough" 5 seconds later, then the web page does not respond any more. I cannot replicate this error when stepping with the debugger in VS, which makes me think of a thread synchronization problem.

Problem 2)
I want to make a screen recording, but I get the message "Invalid pointer" and the following error (my Windows is in German, it says "Object pointer not set to an object instance")
************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei System.Drawing.BufferedGraphics.RenderInternal(HandleRef refTargetDC, BufferedGraphics buffer)
bei System.Drawing.BufferedGraphics.Render(Graphics target)
bei OgamaControls.BufferedGraphicsRenderPanel.OnPaint(PaintEventArgs e)
bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Geladene Assemblys **************
Win32-Version: 4.0.30319.18444 built by: FX451RTMGDR.

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.

Assembly-Version: 5.0.5614.17893.
Win32-Version: 5.0.

CodeBase: file:///C:/Program%20Files%20(x86)/OGAMA%205.0/Ogama.exe.

Win32-Version: 4.0.30319.34251 built by: FX452RTMGDR.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.

Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.

Win32-Version: 4.0.30319.34238 built by: FX452RTMGDR.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.

Win32-Version: 4.0.30319.18408 built by: FX451RTMGREL.

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.

Oct 28, 2015 at 9:54 PM
Hi, sorry for having trouble with ogama.
As stated earlier, both website and desktop-recording are experimental and not recommended for studies.
Do you have a project on which the Problem 1) occurs reliable? Send it to adrian(at) and I will have a look at it.
Problem 2) ist mostly a problem with the screen recorder video capture compressor filter or another part of the direct show graph. It might also be a problem with the dual monitor setup. Did you tried it on single screen setup?