The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

The program has stopped responding

Last post 10-02-2011, 4:44 AM by eddyc. 2 replies.
Sort Posts: Previous Next
  •  09-12-2011, 2:04 PM 10131

    The program has stopped responding

    I have an issue I'm wondering if anyone else has had and knows what is causing. I occasionally get an error along the lines of "The program [program name] has stopped responding and you will be returned to Windows Media Center" when quite obviously the program is running perfectly well and is responding.
  •  09-16-2011, 1:27 PM 10134 in reply to 10131

    Re: The program has stopped responding

    I've not really found what the problem is but if I put a Thread.Sleep(10) [1 didn't work] in the thread that gets kicked off when the application starts this no longer happens. This seems like a bit of a hack so any clues as to what the problem is would be appreciated.
  •  10-02-2011, 4:44 AM 10135 in reply to 10134

    Re: The program has stopped responding

    I've seen this happen occasionally if you accidentally call Media Center functions or invoke MCML methods when running on a thread other than the application thread.

    It's easy to do this by mistake if you are are using callbacks with other system components since your callback is often invoked on a different thread than the one which created the callback request.

    Eddy
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems