recently in my project when I call ShowDialog
method of OpenFileDialog
I get this error:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I have been searching all over the web before now but my problem did not solve. Also I installed microsoft patch, but because my project is in .Net 3.5, it was not useful.
Code Sample:
OpenFileDialog OFD = new OpenFileDialog();
OFD.ShowDialog();
Thanks for any help.