Article View: adobe.reader
Article #778Re: The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be read
From: vmoreau
Date: Tue, 03 Mar 2009 19:30
Date: Tue, 03 Mar 2009 19:30
57 lines
2286 bytes
2286 bytes
We got the same issue in our application since some user have been upgraded to adobe reader 9 (latest liveupdate didn't fix issue).
We are using WebBrowser [axWebBrowser] in a c# .NET 1.1 Application to mainly display .pdf
Most of the time.. user had the this error when closing our application:
---------------------------
sw: TestBrowserNET11.exe - Application Error
---------------------------
The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be "read".
Click on OK to terminate the program
---------------------------
OK
---------------------------
On my computer Rolling back to Adobe Reader 8 was fixing the issue but this was not an acceptable solution/workaroud
Fix:
[DllImport("ole32.dll")]
static extern void CoFreeUnusedLibraries();
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(axWebBrowser != null)
{
if(axWebBrowser.LocationURL != "about:blank")
{
axWebBrowser.Visible = false;
axWebBrowser.Navigate("about:blank");
}
while(axWebBrowser.Busy)
{
Application.DoEvents();
}
CoFreeUnusedLibraries();
axWebBrowser.Dispose();
axWebBrowser = null;
}
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
I hope this could point you to a solution, even if some of you are directly using the Adobe ActiveX,
thoose sites help me to find out what's going one... thanks to all, and hope this reply can save time to others ;o)
[you guys]http://www.adobeforums.com/webx/.59b6a24b
<http://www.xtremevbtalk.com/showthread.php?p=1321672>
<http://savij.com/2007/06/19/webbrows...rash-at-close/>
Technical Details
Message-ID:
<59b6a24b.8@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b6a24b.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,85dcf89c17f7d148 X-Google-Attributes: gid10273d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: vmoreau@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.reader Subject: Re: The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be read Message-ID: <59b6a24b.8@webcrossing.la2eafNXanI> Date: Tue, 3 Mar 2009 11:30:27 -0800 References: <59b6a24b.-1@webcrossing.la2eafNXanI> Lines: 64 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit