Hello,
We downloaded the trial version of the PDF Editor Toolkit SDK.
Was able to compile the VC version and run it in Visual Studio 2015 as x86.
Is there a 64-bit version of the SDK (verywrite.dll, cimage.dll, pdfutil.dll)?
We converted the example project to 64-bit, but of course the example application couldn't load the 32-bit verywrite.dll module.
Cheers,
Customer
---------------------------------------
PDF Editor Toolkit SDK Home Page,
https://www.verypdf.com/app/pdf-editor-toolkit/index.html
We haven't a 64-bit verywrite.dll yet however, you can call it from 64bit application via pdfshell.exe COM interface, you can register pdfshell.exe by following command line first,
pdfshell.exe /regserver
You need run a CMD window with administrator privilege, then you can register pdfshell.exe by above command line.
After that, you can add a reference to "pdfshell2.shellexe" from Microsoft Visual Studio 2010, you will able to call "pdfshell2.shellexe" from your C# or VB.NET code easily, please refer to a piece of source code at below,
Dim pdfObject
dim FileID
dim bresult
dim FilePath
dim sFileName, dFileName
on error resume Next
Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
FilePath = strFolder & "\"
Set pdfObject = CreateObject("pdfshell2.shellexe")
Dim szPDFFile
Dim id
Dim code
Dim lFile
Very_Set_Opacity = 240
szPDFFile = FilePath & "stamppdf2.pdf"
on error resume Next
pdfObject.com_VerySetLicenseKey "XXXXXXXXXXXXXXXXXXXX"
id = pdfObject.com_VeryStampOpen(szPDFFile,FilePath & "_001.pdf")
If (id > 0) Then
iRet = pdfObject.com_VerySetFunction(id, Very_Set_Opacity, 30, 0, 0, 0)
code = pdfObject.com_VeryStampAddText(id, 1, "Opacity_30", 65296, 0, 0, 0, -45, 0, 0, 0, "", 48, 0, "", 0)
iRet = pdfObject.com_VerySetFunction(id, Very_Set_Opacity, 60, 0, 0, 0)
code = pdfObject.com_VeryStampAddText(id, 3, "Opacity_60", 65296, 0, 0, 0, 45, 0, 0, 0, "", 48, 0, "", 0)
iRet = pdfObject.com_VerySetFunction(id, Very_Set_Opacity, 90, 0, 0, 0)
code = pdfObject.com_VeryStampAddText(id, 5, "Opacity_90", 65296, 0, 0, 0, -45, 0, 0, 0, "", 48, 0, "", 0)
iRet = pdfObject.com_VerySetFunction(id, Very_Set_Opacity, 10, 0, 0, 0)
code = pdfObject.com_VeryStampAddText(id, 7, "Opacity_10", 65296, 0, 0, 0, 45, 0, 0, 0, "", 48, 0, "", 0)
pdfObject.com_VeryStampClose (id)
End If