Hi, I am using Windows media player in my project, if I call media player from my main form its playing, I have written code that when I click Wmp it goes to main form but when I do this it is showing "Attempted to read or write protected memory. This is often an indication that other memory is Corrupt". Can anyone provide solution for this, Thanks in advance .
Frmads frm=new frmads(this);
Ads Form code:
If(e.newstate = =2)
What I have tried:
Please give a solution of this issue soon. Thanks in advance