I come from taiwan ^^
I have the same problem in the forms
<http://www.adobeforums.com/webx/.59b5b204>
Leonard Rosenthol, "C#, App.Exit() is not closing Acrobat process." #1, 10 Oct 2008 1:07 pm </webx?14@@.59b6b4cf/0>
When we exit the application, we see an error message "Cannot read the memory at ...."
===
My old program is 7.0, are normal before, but updated to 9.0, will appear on the attached map(i send mail to you) error.
Are there any ways to solve it?
Thank you very much~
We are getting the same issue when switching from Adobe Reader version 8.0 to 9.0.
We have a C# application which loads PDF documents on a WinForm using the AxAcroPDF component. When the form is loaded and unloaded multiple times and then the main application exited, the following is obtained:
Application error: The instruction at .... referenced memory at ....... The memory could not be "read"
Has a fix/patch been released for this?
The issue does not occur when uninstalling Adobe reader 9.0 and reinstalling Adobe reader 8.0.
Many thanks,
Kavish
Try running the BasicIacOCXCS example found in Acrobat 9 SDK.
this will give you the error as mentioned above.
We are facing similar problem on press of tab.
In Windows application we are using AcroPDF.dll to load Reader 9.0.
When we run the application PDF is Loaded sucessfully , but later when we press tab application closes with an Error .
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Are there any ways to solve this?
Thanks,
gmdarsh
To reproduce the problem:
- Download Acrobat 9 SDK
- Run BasicIacOCXCS (compiled!!)
- Open 2 PDF files
- Close the application
Memory Read or Write Exception !
Can somebody tell me how too fix this ??
Just put the AxAcroPDF object inside a panel on your windows form then add a OnClosing event for the form and with the following I don't get the errors any more
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
Controls.Remove(panel1);
System.Threading.Thread.Sleep(500);
}
without the sleep call I would sometimes get the error, I didn't fiddle with the sleep time though.
Hope this helps!
CodingMoose