Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Microsoft.Xna error

$
0
0

this is the error I am getting

"FrameworkDispatcher.Update has not been called. Regular FrameworkDispatcher.Update calls are necessary for fire and forget sound effects and framework events to function correctly. See http://go.microsoft.com/fwlink/?LinkId=193853 for details."

now I saw online that you can do this 

// Timer to simulate the XNA Game Studio game loop (Microphone is from XNA Game Studio)
DispatcherTimer dt = new DispatcherTimer();
dt.Interval = TimeSpan.FromMilliseconds(50);
dt.Tick += delegate { try { FrameworkDispatcher.Update(); } catch { } };
dt.Start();

but when I try and use that code it does not know what DispatcherTimer is nor does it know what FrameworkDispatcher.Update() is


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>