I used the PXCp_WriteDocumentW function to save the generated pdf file. I also need to open the program after I am done saving. There is a flag in PXC_WriteExFlags.WEF_RunApp which will open the tracker program. I can only see uses of this flag in the PXC_WriteDocumentEx function.
I want to know how I can use this flag in the PXCp write function to open the program. Or if there is any other way around it, please let me know.
Thanks for your help.
PXCp_WriteDocument Function and use of PXC_WriteExFlags
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
m.holik
- User
- Posts: 21
- Joined: Tue Dec 20, 2011 5:47 pm
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19930
- Joined: Mon Jan 12, 2009 8:07 am
Re: PXCp_WriteDocument Function and use of PXC_WriteExFlags
Hi m.holik,
You don't need these methods - as you can use ShellExecute to tell Windows to launch any file with the default application associated with it:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
e.g. in pseudocode
ShellExecute(handle, 'open', 'c:\MyDocuments\Sample.pdf',null,null,SW_SHOWNORMAL) ;
Best,
Stefan
You don't need these methods - as you can use ShellExecute to tell Windows to launch any file with the default application associated with it:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
e.g. in pseudocode
ShellExecute(handle, 'open', 'c:\MyDocuments\Sample.pdf',null,null,SW_SHOWNORMAL) ;
Best,
Stefan