Skip to main content
Participant
November 19, 2019
Question

Opening PDF-file on Acrobat Reader with C++ without PDF-file on Harddisk

  • November 19, 2019
  • 1 reply
  • 1777 views

How can I open a PDF Document with Acrobat Reader within my Windows-Application from an char array without storing the Document on the HardDisk.

I want to do it this way, because I store the PDF-Files in a Database and my Application may have nor write-permissions.

I have found on Example in the file sdkDC_v1_win.zip (const char *DDE_CMD_STRING = "[FileOpenEx(\"c:\\simple.pdf\")]";), which loads an PDF-file from Harddisk.

Im did not find any Documentation for other DDE-commnds.

Are there other ways for solving this problem?

 

Who can help me, thanks?

 

This topic has been closed for replies.

1 reply

Legend
November 19, 2019

https://www.adobe.com/devnet/acrobat/interapplication_communication.html

You must work with a file. File writing overhead is not important. You must have access to %TEMP%, because Reader needs it.