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!
Use of 64-Bit |
Post Reply |
Author | |
Jim Sullivan
Team Player Joined: 10 Nov 05 Location: United States Status: Offline Points: 36 |
Post Options
Thanks(0)
Posted: 26 Oct 11 at 3:23PM |
So I see that there are 2 separate DLL files, one for 32-bit and one for 64-bit. I have an ASP.NET application that I distribute to several customers. Some of them will want to use the 32-bit and some the 64-bit version. In fact, at least one of them will want to run 64-bit on one server and 32-bit on another server.
Is there a way to compile my application once and just have the customer swap in the proper library? My industry (healthcare) is heavily regulated and if I have to compile two separate versions of my software, it will double my testing since I have to run complete validations every time I compile.
|
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
[Updated] Normally 32 and 64 bit EXE files are totally different and you cannot have a single EXE that runs in either 32 bits or 64 bits depending on the host OS.
Apparently with C# you can select your EXE to target Any CPU. There following code in the C# QuickPDFDLL08xx.cs file should allow the CS file to choose the correct DLL at runtime.
There is still the issue that you have two separate DLL files which could have different bugs. In fact we have found such a bug already in the QPL code so you would need to do some testing of both versions when it comes to testing the QPL functions. Andrew. Edited by AndrewC - 27 Oct 11 at 8:47AM |
|
Dan
Team Player Joined: 21 Oct 11 Location: US Status: Offline Points: 23 |
Post Options
Thanks(0)
|
I'm doing it a little different. I renamed the dll to QuickPDFDLL.dll and placed that in a Bin folder I created on my D drive. Just take the appropriate dll version, 32 or 64 bit, and copy it to the system then rename it. My code looks like:
Dim DLLPath As String = "D:/Bin/QuickPDFDLL.dll" Dim pdf As PDFLibrary = New PDFLibrary(DLLPath) If Not pdf.LibraryLoaded() Then Throw New Exception("QuickPDF Library Not Loaded from location: " & DLLPath) End If If pdf.UnlockKey("Your Key") = 0 Then Throw New Exception("Did not unlock QuickPDF") End If As Andrew pointed out there could be a need to test each version separately to comply with HIPAA regulations. I can't imagine you'd need to test too exhaustively as it's the data you need to protect, right? Access controls around the data should protect you from about any difference in the versions. Dan Edited by Dan - 08 Nov 11 at 11:10PM |
|
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