Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys, i need some help, i'm seeing this error(exception) while running my game, exception is Attempted to read or write a protected memory. i've visited number of forums but could not find the solution. can anybody help me out?
Posted

1 solution

Hi,

I assume that you are doing a save operation. If so, make sure you aren't saving a game in something like C:\. There are specific places where you cannot read or write files, and you can not delete them either.

If you want to save games, use the SavedGames directory in Documents.

Cheers,

ge-force.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900