This only fixes it for people that are getting the error when closing the form, right?
I am having the same problem as DarshanManjunath - we're both getting this error when hitting tab while the pdf viewer has focus on the form.
Any idea how to avoid the error in this case? Thanks!
EDIT: I guess that was the case for the original post on this thread, sorry!
It uses the following code:
static extern void CoFreeUnusedLibraries();
private void Form2_FormClosing(object sender, FormClosingEventArgs e)
if (axAcroPDF1 != null)
I used it, and found no errors :-)
This doesn't work for me. A working solution is over here: