Hey there,
I have a windows forms application and some winRT APIs.
Then, I am using some winRT APIs for handling the streams.
The problem is, every time I hit an await keyword, the application crashes with the above exception.
even a simple await Task.Delay causes the app to crash. I believe this is some sort of marshaling problem somewhere, but i don;t seem to find a way to fix it...
Any ideas?