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 - Crash with LIB-version QuickPDF 9.12
  FAQ FAQ  Forum Search   Register Register  Login Login

Crash with LIB-version QuickPDF 9.12

 Post Reply Post Reply
Author
Message
Mermi View Drop Down
Beginner
Beginner
Avatar

Joined: 19 Nov 12
Location: Germany
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mermi Quote  Post ReplyReply Direct Link To This Post Topic: Crash with LIB-version QuickPDF 9.12
    Posted: 19 Nov 12 at 4:40PM
Hello out there!

First to say: we had constructed a native adapter for our Java-Software, so that we can print from Java (we use iText to create a PDF from any Java-Print-Request and then move it to the native side and print the pdf over quickpdf).
So now: quickpdf is really cool and powerful and we had only small problem with the QuickPDF LIB-Version 9.11.

Today now we had tried the LIB Version 9.12 and... everything works so far... but: when the java-process ends, there is a first chance exception in "oleaut32.dll!760d4971()".

We had tried to isolate the problem... so these are our "facts":
  • when we only use the LIB and call DEBENUPDFLIBRARYLIB0912_DllMain() on start of our C++-DLL and call DEBENUPDFLIBRARYLIB0912_DllMain() on exit of our DLL everything is all right.

  • when we then add a method-call in our DLL and in this method there is only following code:
    JNIEXPORT jstring JNICALL Java_somelongjavaname_doPrint
    (JNIEnv *env, jclass, jstring pdfFileName, jstring printerName, jstring jobName, jint countOfCopies, jboolean collateSheets, jint sides, jboolean landscape, jstring isoPaperFormat, jint paperWidth, jint paperHeight)
    {
    AFX_MANAGE_STATE(AfxGetStaticModuleState());

    int InstanceID = DPLCreateLibrary();
    DPLReleaseLibrary(InstanceID);
    return env->NewStringUTF(L"");
    }

then we have the problems mentioned above.

Is there anybody else, who had experienced similar problems with the 9.12 version?

With kind regards,
                                      Mathias Mehrmann

Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 22 Nov 12 at 5:31AM
We are currently looking into the issue.  If you have any more information please send it through.  We are not seeing the same error in the DLL version with C#.

Andrew.
Back to Top
Mermi View Drop Down
Beginner
Beginner
Avatar

Joined: 19 Nov 12
Location: Germany
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mermi Quote  Post ReplyReply Direct Link To This Post Posted: 22 Nov 12 at 10:33AM
I have opened a support-request (Case 16264). There is a jar-File with the java-project and the C++-project as attachement. You can reproduce the crash with that.

Thanks in advance...
I hope you can fix the problem as soon as possible because we want to release our next version in the next weeks and there is already another opened request (Case 16206) from us. And it would be bad if you fix that problem but we can't use the new version because of the crash in the Lib... :-]

With kind regards,
                                      Mathias Mehrmann

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