I have an application in Win C# 2010,
I have added OpenFileDialog control in my Form.. i have written following code
OpenFileDialog1.ShowDialog();
it throws following Exception :
AccessViolationException:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
what can be a problem ? and how to solve it?
Thanks..