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!
![]() |
DAGetPageImageList Problem |
Post Reply ![]() |
Author | |
andrewf22 ![]() Beginner ![]() Joined: 14 Mar 07 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 26 Mar 07 at 4:50PM |
I am using v 5.22
When I try to use the DAGetPageImageList I get an error
"Object reference not set to an instance of an object"
I am using C# to write my code using VS.NET 1.1
int fileID=fileID=qp.DAOpenFile(strFileName,""); int pageID=qp.DAFindPage(fileID,1); int imageListID=qp.DAGetPageImageList(fileID,pageID); Get the error on the line above.
Both fileID and pageID are non zero
Not sure if this is a bug in v5.22 or am I doing something wrong here. Any help appreciated.
|
|
![]() |
|
marian_pascalau ![]() Debenu Quick PDF Library Expert ![]() Joined: 28 Mar 06 Location: Germany Status: Offline Points: 278 |
![]() ![]() ![]() ![]() ![]() |
andrewf22,
this may be a bug in QuickPDF library. If it is related to 5.22 I cannot confirm because I have never worked with DA* functions of this library.
If you want that I take a look on your program (demo is ok as well) please sennd an email to support(at)quickpdf.org. But I warn you that I have a lot of bugs lately and I can for the moment only confirm this problem.
VS.NET sample works fine with me.
Best regards, Marian
|
|
![]() |
|
andrewf22 ![]() Beginner ![]() Joined: 14 Mar 07 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Hi Marian
Thanks for looking into this for me. I have sent the code to your email address. Also is there any chance that this bug might have popped up in v5.22. Before this I was using v4.28 which diddnt have these DA Image functions. Any chance I could get my hands on a previous version to verify if it occurs there also or are you going to check this out when you confirm the bug ?
|
|
![]() |
|
chicks ![]() Debenu Quick PDF Library Expert ![]() Joined: 29 Oct 05 Location: United States Status: Offline Points: 251 |
![]() ![]() ![]() ![]() ![]() |
I haven't tested, but this line looks a bit funky. Also, did you remember to unlock the library first? |
|
![]() |
|
andrewf22 ![]() Beginner ![]() Joined: 14 Mar 07 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Oops my mistake.
By mistake I mean not in code but typing the code in the post here.
Below is the actual code which I am using
iSED.QuickPDF qp = new iSED.QuickPDFClass();
if (qp.UnlockKey("UNLOCK KEY HERE") == 0)
{ System.Diagnostics.Debug.WriteLine("iSED.QuickPDF license expired."); return ; } //GetImageProperties int fileID=0; fileID=qp.DAOpenFile(strFileName,""); if (fileID == 0) { System.Diagnostics.Debug.WriteLine("iSED.QuickPDF Could not load file."); return ; } int pageID=qp.DAFindPage(fileID,1);
if (pageID == 0) { System.Diagnostics.Debug.WriteLine("iSED.QuickPDF Could not Find Page."); return ; } int imageListID=0;
try { //** ERROR OCCURS HERE ** imageListID=qp.DAGetPageImageList(fileID,pageID); } catch(Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } if (imageListID == 0) { System.Diagnostics.Debug.WriteLine("iSED.QuickPDF Could not Find PageImageList."); return ; } |
|
![]() |
|
marian_pascalau ![]() Debenu Quick PDF Library Expert ![]() Joined: 28 Mar 06 Location: Germany Status: Offline Points: 278 |
![]() ![]() ![]() ![]() ![]() |
Yes it may be the case. I have never tested the DAGetPageImageList function. It seems that you are the first one.
Can you please send me your pdf file to support(at)quickpdf.org
If yes I will give it a try.
Marian
|
|
![]() |
|
andrewf22 ![]() Beginner ![]() Joined: 14 Mar 07 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Hi Marian
If you are reading this then I sent you an email today 3/30/2007. Please check your Junk or Spam folder to see if it didnt end up there. Waiting to hear back from you regarding the next steps in order to resolve the DAGetPageImageList Problem
|
|
![]() |
|
marian_pascalau ![]() Debenu Quick PDF Library Expert ![]() Joined: 28 Mar 06 Location: Germany Status: Offline Points: 278 |
![]() ![]() ![]() ![]() ![]() |
Hi Andrew,
thank you for your information. Your email was indeed in my Junk folder. Sorry about that
![]() I will answer to your privat address.
Best regards, Marian
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store