Hi,
I am getting this errorAttempted to read or write protected memory. This is often an indication that other memory is corrupt.
on this line of codes :-
DialogResult dr = openFileDialog1.ShowDialog();//error is here
if (dr == DialogResult.OK)
{
label6.Text = openFileDialog1.SafeFileName;
pictureBox1.BackgroundImage = Image.FromFile(openFileDialog1.FileName);
}
I searched on google and find 100+ searched result and I read most of them, but I couldn't find proper solution on this.
I also change setting in VS2010 which is Option->Debugging -> unchecked "supress JIT optimization on module load(Managed Only)".
Still my error couldn't resolved ..
Please Help me to out..
Regards
Jayanta
解决方案Start with the debugger: put a brea