Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Access Violation  in TPDFPageTree.GetPage
  FAQ FAQ  Forum Search   Register Register  Login Login

Access Violation in TPDFPageTree.GetPage

 Post Reply Post Reply
Author
Message Reverse Sort Order
rlove View Drop Down
Beginner
Beginner


Joined: 28 Mar 13
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote rlove Quote  Post ReplyReply Direct Link To This Post Topic: Access Violation in TPDFPageTree.GetPage
    Posted: 29 Mar 13 at 7:00PM
Thanks I did that.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 13 at 11:32AM
Hi!

This sounds like an internal problem and not like
needing help with your programming code?
You should try the official support forum for this:
http://www.debenu.com/support/contact/

Cheers and welcome here,
Ingo

Back to Top
rlove View Drop Down
Beginner
Beginner


Joined: 28 Mar 13
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote rlove Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 13 at 11:35PM
We are trying to convert the test 100 Page PDF document to a TIF file.

So we are running through and rendering each page to a bitmap.

Here is simplified version of our code...

  QP := TDebenuPDFLibrary.Create;
      QP.LoadFromStream(aPDFStrm,'');
      PageCount := QP.PageCount;
      for x := 1 to PageCount do
      begin
        msPgTif.Clear;
        QP.RenderPageToStream(200,x,10,msPgTif);
        msPgTif.Position := 0;
      end;


We actually take the render page and deal with it but the A/V initially is on QP.RenderPageToStream  but after stepping into the code, it appears on page 43 of the 100 page test PDF document that you ship.

Stepping through the code this line in the above method is the next source of the A/V

      Renderer.PageDict := GetPage(Page);

Stepping further down the call stack into GetPage()

This line of code raises an A/V
        Result := SearchPage(TPDFArray(Obj), PP);

Inspecting Obj I see that the classname is 'TPDFNull'

Up a few lines I see and Obj is returning TPDFNull

     Obj := FPagePointer.Obj;

Which causes the A/V....

I really don't know enough about this code to offer any more details on the problem.   But we need help in figuring out what to do here.



Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store