Hi I’m having difficulty installing the pdf2swf converter dlls into visual studio 2010 on win7.
VS keeps reporting the files the dlls aren’t valid.
I’ve copied them to the bin folder and am trying to add references to them, but this is where the invalid dll error comes.
Can you advise ?
Please by following steps to try again,
1. Please run "bin/register_x64_com.bat" to register pdf2vector_com.exe first, 2. Then you can run "win64/test_pdf2vec_com_for_x64.vbs" to call PDF2Vector COM method to convert PDF documents to other formats, PDF2Vector COM can be called from visual studio 2010 without any problem,
Please refer to a VBS example at below,
'Please run "../bin/register_x64_com.bat" to register pdf2vector_com.exe first, 'then you can run "test_pdf2vec_com_for_x64.vbs" to call PDF2Vector COM method 'to convert PDF documents to other formats.
Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
pos = InstrRev(strFolder, "\")
strFolder2 = Mid(strFolder, 1, pos)
strPDFFile = strFolder2 & "bin\test.pdf"
strOutFile = strFolder & "\com_test_x64.xps"
Set pdf2vec = CreateObject("PDF2VectorCom.pdf2vec")
strCmd = "pdf2vec -$ XXXXXXXXXXXXXXXXXXXX """ & strPDFFile & """ """ & strOutFile & """"
nRet = pdf2vec.com_PDF2Vector(strCmd)
MsgBox ("Return Value is: " & CStr(nRet))
Thank you for your response. The batch files you have said I should run, I do not have a copy of them, where they sent as an attachment in your last email ?
I've I downloaded from your site, doesn’t have the x64 bit version batch files.
Please download latest version of PDF to Vector Converter SDK from following URL,
after you unzip it to a folder, please refer to following files,
Please run "bin/register_x64_com.bat" to register pdf2vector_com.exe first, then you can run "test_pdf2vec_com_for_x64.vbs" to call PDF2Vector COM method to convert PDF documents to other formats.
My goal is to run the application on a shared hosted environment and wouldn’t be able to registered coms with the server. I only have access to the bin folder to copy the dll to.
Do you have a dll solution ? Is the dll in the downloaded zip corrupt or not compatible with win x64 ?
pdf2vec.dll is a 32bit DLL Library, you can call it from 32bit EXE without any problem, but you can't call it from 64bit EXE, please notice this matter.
However, you can also use our PDF to Vector Converter Command Line to instead of PDF to Vector Converter SDK product, PDF to Vector Converter Command Line can be run on both 32bit and 64bit systems, you can download trial version from our website to try,
VN:F [1.9.20_1166]Call PDF to Vector Converter SDK from 64bit EXE application,