{"id":4001,"date":"2014-03-30T07:05:01","date_gmt":"2014-03-30T07:05:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/attempted-to-read-or-write-protected-memory-in-mixed-mode-module-collection-of-common-programming-errors\/"},"modified":"2014-03-30T07:05:01","modified_gmt":"2014-03-30T07:05:01","slug":"attempted-to-read-or-write-protected-memory-in-mixed-mode-module-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/attempted-to-read-or-write-protected-memory-in-mixed-mode-module-collection-of-common-programming-errors\/","title":{"rendered":"Attempted to read or write protected memory in mixed mode module-Collection of common programming errors"},"content":{"rendered":"<p>I am sorry; I should have understood what you meant by mixed mode.<\/p>\n<p>The message saying that the program is attempting to access protected memory is saying that you have a pointer, index or subscript that has an invalid value. I am not sure how to debug that in managed code because I don&#8217;t have much experience with it but I will assume the following will help.<\/p>\n<p>While in the debugger and when you have encountered the problem, look at the call stack; are you familiar with that? Look at the top-most line of the call stack\u00a0that has a line of source code in your program. Double-click on that line and it will show that source code line. There is a problem there, either directly or indirectly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am sorry; I should have understood what you meant by mixed mode. The message saying that the program is attempting to access protected memory is saying that you have a pointer, index or subscript that has an invalid value. I am not sure how to debug that in managed code because I don&#8217;t have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4001","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4001"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4001\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}