ABCpdf - dont understand what is needed to run the project

6.3k Views Asked by At

new job, ASP.NET project, no nuget. Without running installation of ABCpdf, is it possible just to add DLLs to the project and use it?

What is the difference between ABCpdf.dll, ABCpdf-32.dll, ABCpdf-64.dll? How the application knows which ones to use?

In references I see only ABCpdf.dll, but ABCpdf-32.dll and ABCpdf-64.dll couldnt even be referenced.

Please explain to me how this can be used if ABCpdf is not installed?

3

There are 3 best solutions below

1
On

I just downloaded the newest websupergoo, ran the exe, remembered where the files were installed, and then added the new ABCpdf reference from the new files. The only other thing I had to do was to rename the AddHtml() method to AddHTML(). Compiled and ran just fine.

3
On

You can just add a reference to ABCpdf.dll. ABCpdf.dll will need ABCpdf-32.dll in the same folder, if your app is for x86, and it will need ABCpdf-64.dll if your app is for x64. Some of the more "exotic" functionality may need other dll's as well.

2
On

There are differences in the dependencies between versions. For example if you're using version 7, you'll also need the following DLL's in your bin directory (but they are not .NET DLL's so you can't add a reference to them): -

  • ABCpdfCE7.dll
  • PrintHook32.dll (or PrintHook64 for the 64-bit version)

I don't know what the dependencies are for v9 but it's worth finding out. To be honest you're probably better off downloading the installer anyway, as you'll need it to enter the license key. The license isn't cheap but it's a pretty good product. You might also want to have a look at iTextSharp.