I bought your Postscript PDF SDK and used it in our 32-bit application. I
now migrated this application to 64-bit and I need a version of your
library that works with 64-bit. I downloaded the latest version of your SDK
and found that you have two ps2pdf libraries (ps2pdf_x86.dll and
ps2pdf_x64.dll). I saw the exported function VeryPDF_PsToPDF in both
libraries but those files don't seem to work. Did the exported function
prototype change since version 220.127.116.11? If true, what is the function
What libraries and runtimes (msvcr*.dll) I need in both platforms?
Please use administrator privilege to run following command line in CMD window,
this command line will register ps2pdfcom.exe into your system, after that, you can run following VB script code to call ps2pdfcom to convert PS file to PDF file easily,
Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
strInFile = strFolder & "\test.ps"
strOutFile = strFolder & "\test_vbs.pdf"
strCmd = "ps2pdf -$ XXXXXXXXXXXXX " & strInFile & " " & strOutFile
Set ps2pdfcom = CreateObject("ps2pdfcom.ps2pdf")
You can port above code to VB.NET, C# etc. program languages easily.
Please feel free to let us know if you need any other assistance.
This answer has nothing to do with my problem. May be you sent it to me by mistake. Did you read my question? Is it not clear enough?
Sorry for the misunderstanding, if you wish call ps2pdf SDK from pure 64bit source code, you should use ps2pdfcom.exe, ps2pdfcom.exe is a COM interface to ps2pdf.dll library.
ps2pdf_x64.dll is just another DLL library for C++ which call ps2pdfcom.exe internally, so, you can pay attention to ps2pdfcom.exe COM only.
Please launch a CMD window by administrator privilege, (click right button on cmd.exe and select "Run as administrator" menu), run following command line to register ps2pdfcom.exe,
after that, you can add a reference to ps2pdfcom ("ps2pdfcom.ps2pdf") from C#, VB.NET, ASP.NET etc. program languages, then you can call com_VeryPDF_PSToPDF() function to convert PS files to PDF files easily.