Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C# sample attempted to read or write protected memory.
#9
It even crashes when I run it without attached debugger. Also, I manually installed .net x64, even though windows comes with it. When I compile it with the SDK command prompt, it still gives me the error. Though, it gives me a warning about 'mscorlib.dll' targeting a different processor. However, I do not get that warning in SharpDevelop unless I change the target platform. Also, I can't figure out how to compile 64-bit.

Edit: I got the x64 version to run and work perfectly after copying sdl2.dll and tilengine.dll from SuperMarioClone. Though, doing the same for the 32-bit version leads to a white screen with the same crash.
Reply


Messages In This Thread
RE: C# sample attempted to read or write protected memory. - by RexyDallas - 08-31-2018, 07:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)