luckysingh89 / pdfviewer-win32

Automatically exported from code.google.com/p/pdfviewer-win32
0 stars 0 forks source link

AccessViolationException when trying to use PdfPage.GetBitmap #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Load PDF using FileStream
2.Try to get a bitmap of a page using pdfPage.GetBitmap
3.

What is the expected output? What do you see instead?
It Returns a valid Bitmap

What version of the product are you using? On what operating system?
Revision r68. Windows 7. Visual Studio 2010 x64 Build

Please provide any additional information below.
AccessViolationException is thrown with the following message "Attempted to 
read or write protected memory. This is often an indication that other memory 
is corrupt."

Original issue reported on code.google.com by jdrozd on 12 Feb 2011 at 4:43

GoogleCodeExporter commented 9 years ago
Same Problems with Visual Studio 2010 x32 (German) Windows XP. (German)

Original comment by paulsof...@gmail.com on 14 Apr 2011 at 3:30

GoogleCodeExporter commented 9 years ago
AccessViolationException is thrown 

Visual Studio 2010 x32   Windows 2003(sp2)

Original comment by scode945...@gmail.com on 17 May 2011 at 5:04

GoogleCodeExporter commented 9 years ago
  Bitmap bmp = wrapper.Pages[PageNumber].GetBitmap((double)DPI, true);

AccessViolationException is thrown with the following message "Attempted to 
read or write protected memory. This is often an indication that other memory 
is corrupt."

Original comment by scode945...@gmail.com on 17 May 2011 at 5:07

GoogleCodeExporter commented 9 years ago
AccessViolationException is thrown with the following message "Attempted to 
read or write protected memory. This is often an indication that other memory 
is corrupt."

Visual Studio 2008 , Windows XP x32

Original comment by pcelis...@gmail.com on 6 Jun 2011 at 10:05

GoogleCodeExporter commented 9 years ago
using (PDFLibNet.PDFWrapper pdf = new PDFLibNet.PDFWrapper())
{
    if (pdf.LoadPDF(path))
    {
        pdf.ExportJpg(pathJPG + "_1.jpg", 1, 1, 300, 100, -1);
        pdf.ExportJpg(pathJPG + "_2.jpg", 2, 2, 300, 100, -1);
    }
} <--- At this point AccessViolationException is thrown with the following 
message "Attempted to read or write protected memory ...."

Original comment by gmbarrera on 25 Aug 2011 at 2:19

GoogleCodeExporter commented 9 years ago
I also getting this error , any help will be appreciated. 

Original comment by weragod...@gmail.com on 7 Feb 2012 at 5:59