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 > General Discussion
  New Posts New Posts RSS Feed - QuickPDF v6.02 Beta now available
  FAQ FAQ  Forum Search   Register Register  Login Login

QuickPDF v6.02 Beta now available

 Post Reply Post Reply
Author
Message
Michel_K17 View Drop Down
Newbie
Newbie
Avatar
www.exp-systems.com

Joined: 25 Jan 03
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michel_K17 Quote  Post ReplyReply Direct Link To This Post Topic: QuickPDF v6.02 Beta now available
    Posted: 25 Jan 08 at 12:48AM
New v6.02 has been added to the download section. It is available as a DLL compiled version. Source code owners can also get a copy in the source code download area of the forum.

The ActiveX version will follow later.
Michel
Back to Top
gshannon View Drop Down
Beginner
Beginner


Joined: 21 Feb 07
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshannon Quote  Post ReplyReply Direct Link To This Post Posted: 04 Feb 08 at 10:50AM

Thanks Michel!

Any idea on an ETA for the ActiveX? Smile

Back to Top
Michel_K17 View Drop Down
Newbie
Newbie
Avatar
www.exp-systems.com

Joined: 25 Jan 03
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michel_K17 Quote  Post ReplyReply Direct Link To This Post Posted: 04 Feb 08 at 6:59PM
No, I do not know. I have not tried to re-compile the program in "ActiveX" form either, so I do not know if I can.

Anybody else?
Michel
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 05 Feb 08 at 11:54AM
Hi Michael.
 
Thanks for this new release.
 
The bug for inverted image has been corectly fixed. Great !!
 
 
However, we are still unable to use this library within our projects.
 
 
All applications using this dll  stay into the windows process list when the user close their. Under windows Vista, there is an error raised each time we close our applications.
 
I can give a simple way with Visual Basic 6 to reproduce this behaviour:
 
 
 
Start a new project and copy this code into the form1:
 
 
Private Declare Function iSEDUnlockKey Lib "iSEDQuickPDF.dll" (ByVal sRegKey As String) As Long

Private Sub Form_Load()
   iSEDUnlockKey ("")
   End
End Sub
 
 
Now, if you compile, run and exit the application the processus will still in memory. In Windows Vista it will crash.
 
 
Any idea ?
 
 
Best regards,
 
Loïc Carrère


Edited by lcarrere - 05 Feb 08 at 11:56AM
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 8:43AM
Loic,

If I find the time I will test the dll version this evening. Just to be sure: in general it works and the problem is Vista-crash and remaining process?

kind regards,
Uli
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 9:27AM
Hi Uli,
 
Thanks for your answer.
 
Vista didn't crash, it is the application which crash. Sorry, my english is not very good... The remote application crash only when she is closed.
 
To ilustrate the problem, I created a little application in vb6. You can download the project & exe from this link: http://www.gdpicture.com/noindex/isedtest.zip
 
 
The code of the application is this one:
 
 
Private Declare Function iSEDUnlockKey Lib "iSEDQuickPDF.dll" (ByVal sRegKey As String) As Long
Private Sub cmdEnd_Click()
   End
End Sub
Private Sub Form_Load()
   iSEDUnlockKey ("")
End Sub

 
 
Good luck and thanks for all !
 
 
PS: We develop full-featured imaging SDK (image acquisition by twain, image processing, image viewer...) and we will be happy to give free license for the QuickPdf.org volunteer if they want. Just send me a mail by this forum ;)
 
 
Best regards and thanks again,
 
 
Loïc


Edited by lcarrere - 06 Feb 08 at 9:27AM
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 9:30AM
Hm, a short test with a call from VB.Net works fine here (when running the application from outside IDE). The only difference I made is:
ByRef sRegKey As String

But I'm not familiar with VB so this could also be wrong.

Uli
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 9:35AM
Hi Loic,

Sorry, I didn't noticed your posting before my last one.  I tried to download your sample but it is not possible: The requested URL /noindex/isedtest.zip was not found on this server.

You can send me the sample also by email: ulrich.kobsa at t-online dot de

Uli
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 9:37AM
Sorry it is  http://www.gdpicture.com/noindex/testised.zip
 
Byref or Byval has the same behaviour for me with vb6.
 
 
Regards,
 
Loïc


Edited by lcarrere - 06 Feb 08 at 9:38AM
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 9:55AM
Loic,

with your sample I can reproduce it.  Hm, for now I have no idea what can cause this. But I will look on it. Do you know any good online reference on VB6?

kind regards,
Uli
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 10:06AM
Uli,
 
I don't think this problem can be solved with vb6. This bug was not present with the version of Marian and all the dll provided by the sedtech team.
 
 I've past many hours to try to find a workaround without any success. I am a great user of dynamic library from vb6 and I've already got this behaviour with a c++ dll.
 
The error in this dll came from the main function wich didn"t release ressources from memory at the process detachement:
 
 
 

BOOL APIENTRY DllMain( HMODULE hModule,

DWORD ul_reason_for_call,

LPVOID lpReserved

)

{

switch (ul_reason_for_call) {

case DLL_PROCESS_DETACH:

//Here unload all ressources from memory

break;

case DLL_PROCESS_ATTACH:

break;

default:

break;

}

return TRUE;

}

 
Is there a way to catch the detachment of the process in Delphi in order to clear all ressources used by the dll ?
 
 
Else, you can find a lot a online help with vb6.
My favourite ressources are msdn for documentation and forums for discussion:
 
 
 
Best regards,
 
Loïc Carrère
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 10:16AM
Ok, I will try to profile the dll for memory leaks. Maybe this gives an hint.

kind regards,
Uli
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 10:17AM
Thanks Uli,
 
If you have any urgent question about vb6 you can send me a mail at loic.carrere (at) gmail (dot) com.
 
 
Loïc
Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 06 Feb 08 at 3:25PM
Loic,

I have no idea what happens here: I tried it with an equivalent delphi project and it works fine. Also adding some code for memory leak detecting doesn't show anything.

Do you have an idea why VB6 doesn't work here like Delphi?

regards,
Uli
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: 07 Feb 08 at 2:22AM
Hi!

I've tested it, too.
VB6 and WinXP... i've got the same result like Loic - the old dll is okay and with the new dll the testapp hangs after "close".
I think it has to do with the dll itself 'cause old dlls are running.
Our new dll is about 1450 kb and the old one is about 1250 kb... Perhaps we've done something wrong while compiling the dll?
Perhaps on sunday i've time trying to compile a new one and i'll test again.

Best regards,
Ingo

Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 07 Feb 08 at 10:10AM
Hi all,


Like Ingo said I think that options of compilation can be a good hint. Otherwise, I have not any idea of what can happen...

I will try other tests with vb...

Best regards,

Loïc
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: 12 Feb 08 at 1:47AM
Hi Loic!
Harald (HarryS) had made few corrections and i've compiled the dll yesterday but still we've the error already described by you. So be patient for a while ;-)
Best regards,
Ingo

Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 12 Feb 08 at 4:55AM
Hi Ingo,

Thanks very much for your message.

I will wait as long as it takes :)

If I can help for anything, let me know !

Best regards,

Loïc


PS: Did you seen that ?





Domain Name: isedquickpdf.com

Status: clientTransferProhibited, clientUpdateProhibited

Registrar: NAMESECURE.COM
Whois Server: whois.namesecure.com
Referral URL: http://www.namesecure.com

Expiration Date: 2011-02-16
Creation Date: 2005-02-16
Last Update Date: 2008-02-11



Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 19 Feb 08 at 9:38AM
Hi ,

I think this problem can be solved calling the LoadLibrary API:


Private Declare Function iSEDUnlockKey Lib "iSEDQuickPDF.dll" (ByVal sRegKey As String) As Long
Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
Private Sub cmdEnd_Click()
   End
End Sub
Private Sub Form_Load()
Call  LoadLibrary("iSEDQuickPDF.dll") 
iSEDUnlockKey ("")
End Sub

 

It is now OK with windows XP.
I will make test with Windows Vista an report here the result.

Best regards,

Loïc Carrère
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: 19 Feb 08 at 9:52AM
Hi Loic!

Looks good...
Still the question why this behavior doesn't appear in older lib-versions but ... ;-)
Thanks!

Ingo
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 20 Feb 08 at 4:13AM
Hi Ingo and other members,

All my tests with Windows Vista, 2000, 2000 server, XP, XP64 are OK using the LoadLibrary() api.


Second this edition fixed other problem with few PDF rendering (system crash). It's fantastic !

For me this edition can be considered as stable for the rendering functions. I've done a lot a tests with many PDF files without any problem.


Do you think the quickpdf.org team will be available to provide a final 6.X release of the library edition ? Big%20smile  (With 6.0 version information instead 5.21).


Thanks and best regards,

Loïc Carrère
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: 20 Feb 08 at 5:57AM
Hi again ;-)

Give me a few days ... lot to do.

br,
Ingo
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 21 Feb 08 at 5:51AM
Great !

Thank you very much Ingo.


Best regards,

Loïc
Back to Top
ditte View Drop Down
Beginner
Beginner


Joined: 18 Apr 07
Location: Germany
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote ditte Quote  Post ReplyReply Direct Link To This Post Posted: 28 Mar 08 at 6:52PM
Hi,
I hope the work will find a good end.
And it will find it.

Regards
Dittmar
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 08 at 7:56AM
Hi!
 
How is your testresult for the last beta?
If anybody has problems please post them in the relevant section. Thanks.
 
br, Ingo
Back to Top
ditte View Drop Down
Beginner
Beginner


Joined: 18 Apr 07
Location: Germany
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote ditte Quote  Post ReplyReply Direct Link To This Post Posted: 01 Apr 08 at 3:15AM
Hi,

I´ve send a little collection of files that cann´t opend with the Version 6.02 to support(at)QuickPdf.org.

Regards Dittmar


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: 01 Apr 08 at 4:24AM
Hi!

Please send it to me ...
ingo [ dot ] schmoekel [ at ] ewetel [ dot ] net
If you send it to support(at)QuickPdf.org it goes to Marian and Marian isn't involved in the further development of QP.

Best regards,
Ingo

Back to Top
ditte View Drop Down
Beginner
Beginner


Joined: 18 Apr 07
Location: Germany
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote ditte Quote  Post ReplyReply Direct Link To This Post Posted: 07 Apr 08 at 8:17PM
Hi Ingo,

I´ve read your message now.
I´ve send the little collection to your adress.

Regards

Dittmar




Edited by ditte - 07 Apr 08 at 8:18PM
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 Apr 08 at 2:04AM
Hi!
Now i've got the same error Loic (lcarrere) is telling from two month ago.
He had the problem while working with LoadLibrary for the dll-version that after FreeLibrary the app was freezed and still in memory. He had the prob with his vb-app.
Now i've made a small delphi-dll. If i call it dynamically from a second delphi-app (LoadLibrary) and make a FreeLibrary after the function ends, the app stays freezed in memory, too.
Are there any hints or tricks... any code parts of the quickpdf-sources where i should look? ...Something with destructors...?

Thanks a lot in advance for any help,
Ingo

Back to Top
ukobsa View Drop Down
Senior Member
Senior Member


Joined: 29 May 06
Location: Germany
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote ukobsa Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 08 at 3:03AM
Hi Ingo,

have you tried to debug with delphi what happens inside your dll? Btw: which Delphi version do you use? You could try to install the latest version of FastMM, and include it with full debug mode on. Perhabs the resulting log gives some hints. Another idea would be to look at the code concerning GDIPlus. If I remember right, then there was a change done in 6.0x.

best regards,
Ulrich


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 Apr 08 at 5:25AM
Hi Uli!

Thanks for the quick answer!
I fear that this behavior will raise by all dlls made with the last qp-versions (6.0x) if they are dynamically used. I've the delphi-versions 5, 2005, 2006 and 2007 - delphi 5 is still my favourite one ;-)
The new GDIPlus-part could be a good hint to look deeper into it.
I'll post here again if i've found something.

Best regards,
Ingo
Back to Top
pschott View Drop Down
Beginner
Beginner


Joined: 02 Nov 05
Location: Germany
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote pschott Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 08 at 8:16AM
Hi Ingo
I have send you an email (17.03.2008) where is an correction. Have you try this?
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 Apr 08 at 10:50AM
Hi!

I've answered your email already ...
I'll try it NOW ;-)
I think it'll be the last for our 6.03.

Best regards,
Ingo
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 Apr 08 at 5:33PM
Hi again ;-)
 
A big "Thanks" to Percy ... His solution works.
I'll implement it in the next 6.03-version.
 
If somebody doesn't want to wait... here you can read all in this case:
 
Best regards,
Ingo
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 30 Apr 08 at 8:59AM
Hi,

These modifications dosn't change nothing for me.

The program freeze at this line:
GdiplusShutdown(gdiplusToken);

The only way I found to bypass this behaviour was to comment this line...


Best regards,

Loïc
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: 30 Apr 08 at 9:26AM
Hi Loic!
 
What do you do with your eyes ... ;-)
Please see the third, last line of my (Percys!) code here:
 
You can see the "//" ;-)
 
Best regards and have a nice day,
Ingo
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 30 Apr 08 at 10:10AM
Hi Ingo,
 
I was talking about this topic.
 
The only way I found to bypass the behaviour was to don't apply modifications you gave on this topic http://www.quickpdf.org/forum/forum_posts.asp?TID=893  and to comment the GdiplusShutdown call from the GDIPOBJ.pas source file.
 
To verify that you have just to try the small compiled (vb6) application I've upload on 06 Feb 08.
 
Best regards,
 
Loïc Carrère
 
 
 
 
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: 30 Apr 08 at 11:02AM
Hi Loic!
 
So your freeze-prob and my freeze-prob isn't the same ;-)
The modifications in my posting (...=893) are working for me and for Percy (pschott). It would be interesting to hear about the experiences of the other members here in building a small dll with QP and call it in an app with LoadLibrary...
 
If you write "...The only way I found to bypass..." does it mean that your problem doesn't exist if you don't implement the modification i've described? This would be funny ;-)
 
Best regards,
Ingo
 
Back to Top
lcarrere View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 10 Jul 06
Location: France
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote lcarrere Quote  Post ReplyReply Direct Link To This Post Posted: 30 Apr 08 at 11:10AM
Yes Ingo it is that!

I do not need your modification. Only comment the GdiplusShutdown() call.

I just take the 6.02 source code from the download section and commented the GdiplusShutdown line. That's all. Now my problem has gone away...

I think the problem come from the gdiplusToken wich has already destroyed by shutting down the app. In other words, gdiplus try to release a handle which has already released (maybe by a callback which gdi+ intercepted himself)...

Best regards,

Loïc Carrère
Back to Top
pschott View Drop Down
Beginner
Beginner


Joined: 02 Nov 05
Location: Germany
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote pschott Quote  Post ReplyReply Direct Link To This Post Posted: 30 Apr 08 at 4:33PM
Hi Loic

the problem is not by loading and unloading an Libary! The Problem is in Com and Delphi finalization!
You are right if you wrote yust comment out the GdiPlusShutdown line will make the same for you, but
you are exit the programm without unitialization the GDIPlus.Dll which can became a strange problem for the System!!!
The GdiPlus.Dll is just another API to the GDI Flat Api and you will losing GDI Handles.
In my Opinon you will lost Resourcehandles in the System when you run and exit your Program many times.
It is the same when you make GDI Calls without Release the DC Handles. And that is not fine on Terminalserver!!
I have just run into this Problem because I have an ActiveX Interface for my Program.

Sorry for this bad english.

Percy
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: 01 May 08 at 8:14AM
Originally posted by lcarrere lcarrere wrote:

Yes Ingo it is that!

I do not need your modification. Only comment the GdiplusShutdown() call.

I just take the 6.02 source code from the download section and commented the GdiplusShutdown line. That's all. Now my problem has gone away...

I think the problem come from the gdiplusToken wich has already destroyed by shutting down the app. In other words, gdiplus try to release a handle which has already released (maybe by a callback which gdi+ intercepted himself)...

Best regards,

Loïc Carrère


Hi Loic!

If this is true you should insert an "if ... endif" round the shutdownline, asking if the token isn't destroid already?

Best regards,
Ingo
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: 05 May 08 at 4:39AM
Hi!

Since a few days we have a new source-license owner here: Loic (lcarrere).
First he took the code making modifications to prevent invalid PDF rendering crashes... with good success: Lot of my "crash-pdfs" can be rendered now without any problems! His modifications are in uPDFPicasso, uPDFTrueTypeParser and uPDFFontRasterizer.

We're still working on a new version. If there are members with fixed bugs and test-documents for improving our new version please send it to
ingo (dot) schmoekel (at) ewetel (dot) net

Best regards,
Ingo



Edited by Ingo - 05 May 08 at 4:40AM
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: 08 May 08 at 12:11PM

Hi!

The latest version 6.03 (soon published) could read/render the files ditte sent to me without any problems!

Best regards,

Ingo

 

 

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. About — Contact — Blog — Support — Online Store