PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

[Visual Studio 2005]"couldn't open the display device&q

Hello, I'm trying to rebuild a project under windows (this project runs within windows mobile correctly) and when I try to run it inside Visual Studio (the compilation and linking have been done correctly) I have the following error :"couldn't open the display device".
I tried to replace the sample helloworld instead of my main program and it worked, so my project is properly configured (I think so...) and I don't see where can be the problem...And of course, I can't try to debug because it doesn't run at all...
Thanks for help
Hi Alucardo,

This error probably happens because the fullscreen option is enabled in the Edge configuration and the given x/y resolution isn't supported by the display (for example, a resolution of 240x320).

Set the videowidth and videoheight to values supported by your monitor, or disable the fullscreen option. Configure Edge in the OnCreate() callback of the framework.
thank you, that was the error!