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!
Avoiding RemoveDocument() |
Post Reply |
Author | |
bostjan.klemenc
Beginner Joined: 19 Aug 14 Location: Slovenia Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 19 Aug 14 at 9:02PM |
Hello.
I am using QuickPdf library version 9.13, calling it trough .NET. My question is: Is it necessary to cal RemoveDocument function, if I manually call Release(sintax below) at the end ? Will the "Release" method implicitly remove the document from the memory ? public void Release() { if (dllHandle != IntPtr.Zero) { foreach (int instanceID in shutDownList) { DebenuPDFLibraryReleaseLibrary(instanceID); } FreeLibrary(dllHandle); dllHandle = IntPtr.Zero; } } Thank you for reply. Bostjan |
|
bostjan.klemenc
Beginner Joined: 19 Aug 14 Location: Slovenia Status: Offline Points: 3 |
Post Options
Thanks(0)
|
The reason why I want to know is this error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Bostjan,
the reason for this issue should be there where you call (and how you call) the library from your .net-app. Mostly the error will raise while handling the returning string-values from the QuickPDF.dll. With numeric values the error won't raise. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
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