Exception in simulator

Oct 16, 2012 at 3:35 PM

Hi,

I am developing a basic media player that loads a local video to the MediaPlayer in Xaml for the Windows 8 store. Everything works fine until I run the app in the Simulator and click on the "rotate" button in the simulator menu. Then I receive the following exception:

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)): System.UnauthorizedAccessException\r\n   at Windows.UI.Core.CoreWindow.get_PointerPosition()\r\n   at Microsoft.PlayerFramework.MediaPlayer.IsPointerOverInteractiveElement()\r\n   at Microsoft.PlayerFramework.MediaPlayer.autoHideTimer_Tick(Object sender, O...



Any ideas?

Thomas