Copy link to clipboard
Copied
Hello, using the following code, my m_lpDispatch is returning NULL in my FileToPDF call. What am I doing wrong? I am using Windows 10 with Visual Studio 2015. I am also using Distiller 11.0
#include "CPdfDistiller.h"
void CTestDlg::OnBnClickedOk()
{
CString cInput (_T( "E:\\Temp\\Mike.ps"));
CString cOutput (_T( "E:\\Temp\\Mike.pdf"));
CPdfDistiller *myPDF = new CPdfDistiller;
myPDF->put_bShowWindow(1L);
short rVal;
rVal = myPDF->FileToPDF((LPCTSTR)cInput, (LPCTSTR)cOutput, (LPCTSTR) "");
CDialogEx::OnOK();
}
Copy link to clipboard
Copied
See the tumbleweeds...? This is a forum for an old and long dead product called Distiller Server... the Acrobat SDK forum is the right one, but if you don't get a reply there, you may need to buy a developer case. I wish I could tell you how to do that.
Copy link to clipboard
Copied
Thanks for your help.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now