Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi....
i had developed one user control (C#) in winforms with some unsafe code. i had executed the application with VS-2008, it was successful. When i am trying to execute the same program with VS-2010, i am having problems. The error message is "Attempted to read or write protected memory. This is often an indication that other memory is corrupt".

Please give any Solution.
Posted

 
Share this answer
 
Check your pointers: Have you built the 2010 version for 64 bit, and the 2008 version for 32?
 
Share this answer
 
Comments
Vinay Swa 3-May-12 5:17am    
i had developed with 32bit version of 2008 only, my OS is windows XP-32bit. Just i had opened the VS-2008 application with vs-2010 and executed the application.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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