- 0
c# Win Store App: Thread error
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 3 replies
- 1,871 views
-
help Windows Store doesn't list my Owned apps or games - nothing Owned
By allannyholm,
- windows store app
- windows store apps
- (and 2 more)
- 3 replies
- 5,828 views
-
- 12 answers
- 10,057 views
-
- 2 answers
- 1,920 views
-
- 2 answers
- 1,797 views
-
Question
James Rose
Hello gang,
I'm having an interesting error and looking at the what/how others are dealing with it is not helping.
I am using some code from MS so I can display visualizations within my app (code found here: http://www.getcodesamples.com/src/5D67423E )
The interesting thing is I am getting the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))
Here is the code to start the player, this works fine:
However, when the audio completes in this code I get that error
mMainPage is the application's MainPage and all the code listed above is from my class BediaEngine. I can call functions btw the two with no issues, with the exception of this one. What am I doing wrong?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts