I succesfully embed the v3.2 Portable Reader in my Delphi application by invoking the reader with
CreateProcess WinApi function, passing the “PathToReader\SumatraPDF.exe -plugin hwndContainer xy.pdf” command line.
I have 2 questions:
- is it possible to leave out the xy.pdf filename from the command line? If it is missing, the application doesn’t start up, but with the PDF filename there is no problem
- I can send DDE commands to the standalone application, but when I embed it to my Delphi Form, it does nothing for my DDE-commands. Is there any other way to control the embedded application?
Or is there a trick for the embedded reader controlling by DDE?