![]() |
|
#1
|
|||
|
|||
|
How to open a .pdf file from a win32 console application
Hello all,
Can someone show me the correct code to open a .pdf file from a C++ console application? What I want the program to do is simply open a .pdf file that corresponds to a numerical input. For example, Enter a 1 to view ".pdf on how to view a .pdf" User enters 1 and the .pdf is displayed for the user to read, print, save, etc ... My attempt so far has been to use the ShellExecute() function but I am not having any luck. Thanks Matt |
| Thread Tools | |
| Display Modes | |
|
|