Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Using PDF2File in C++

New Here ,
Feb 25, 2016 Feb 25, 2016

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();

}

TOPICS
Acrobat SDK and JavaScript
859
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 26, 2016 Feb 26, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 26, 2016 Feb 26, 2016
LATEST

Thanks for your help. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines