Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Matt_Spinks@adobeforums.com #1
Attempted to read or write protected memory
I am attempting to convert a PDF document into a jpg image. I have the code in place and understand how it works:
Dim a As New Acrobat.AcroPDDoc()
Dim jso As Object
If a.Open(C:\doc.pdf") Then
jso = a.GetJSObject
jso.SaveAs("c:\test.jpg", "com.adobe.acrobat.jpeg")
End If
a.Close()
But I am getting a memory error when it tries to execute the "a.Open" statement. The memory error is "Attempted to read or write protected memory..." I cannot find a solution for this anywhere. Can anyone help? Thanks.
Matt Spinks
Matt_Spinks@adobeforums.com Guest
-
error message of 0x4e9468dd referenced memory at 0xffffffff8. the memory could not be "read"
I cannot print my document and get this error message. -
$& write-protected?
I am working on a regexp engine written entirely in Ruby. I wish to test it against the rubicon testsuite, its using $& and $1-$9 heavily. How... -
File system get auto change from read-write to read-oly
I have a very strange file system with OS Redhat 7.2 The file system is read-write, but some how it randomly changes to read-only at any time.... -
Modification of a read-only value attempted
Hello all, I'm trying to open a file (3 separate files anyway) and iterate through them In this portion of my script: foreach... -
Read & Read/Write Groups
I am trying to achieve a solution to a (hopefully) simple scenario. I have a Solaris 9 server that is going to be used for sharing files. I... -
Leonard_Rosenthol@adobeforums.com #2
Re: Attempted to read or write protected memory
What version of Acrobat on what OS platform?
Leonard_Rosenthol@adobeforums.com Guest
-
Matt_Spinks@adobeforums.com #3
Re: Attempted to read or write protected memory
Acrobat 9
Visual Studio 2008
..NET 3.5
Windows XP Professional
Matt_Spinks@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: Attempted to read or write protected memory
I believe you need to instantiate the app before the document. Have you checked the sample code?
Leonard_Rosenthol@adobeforums.com Guest
-
Matt_Spinks@adobeforums.com #5
Re: Attempted to read or write protected memory
Yes and yes. I have looked at the code and I have also tried instanciating the app first. My code looks basically the same as the sample code with different file names, etc. I have even tried running the sample directly from the included solution within VS2008 and I get the same error on the "open" statement.
Matt
Matt_Spinks@adobeforums.com Guest



Reply With Quote

