Why does running Dual Monitor break my C# Video Application?
Posted on 2007-11-26
Does anyone have any insight as too why my C# .NET 2.0 application cannot display it's video when moved over to a Dual monitor?
The video shows fine when on the main display, but once moved over to the Second display/Dual monitor the video dissappears. The application is still running, but no video. When I move the application back to the main display the video appears instantly.
- The applicaton is a Visual C# .NET 2.0 app
- The video comes from a C++ DLL that was marshalled to communicate with it. However this same problem occured in the old C++ application that used the same video DLL's, so I don't think it has anything to do with the DLL's.
- I'm using panels to display the video in. I give the DLL the panels HANDLE and it sends the vide there.
It's like the application forgets what the panel's HANDLE was.
Any information you have is useful at this point. Thanks. :)