Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Attempted to read or write protected memory. This is often an indication that other memory is corrupt

$
0
0

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?


Viewing all articles
Browse latest Browse all 12583

Trending Articles



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