Print Page | Close Window

Crash with LIB-version QuickPDF 9.12

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2459
Printed Date: 18 Jan 26 at 5:43PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Crash with LIB-version QuickPDF 9.12
Posted By: Mermi
Subject: Crash with LIB-version QuickPDF 9.12
Date 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




Replies:
Posted By: AndrewC
Date 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.


Posted By: Mermi
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk