Information générale
Catégorie:
Codage, syntaxe et commandes
>I am usint the ShellExecute() function from the Win32 API. I followed David Frankenbach's excelent example and wrapper class. My problem is that I call the function to create a "pdf" file and then load that "pdf" into Acrobat for eMail. What is happening is that the program I use to create the "pdf" cannot create the file as Acrobat gains control of it before it can be created. In schematic format the code looks like this:
>
>ShellExecute creatorpgm source destination.pdf
>small code
>small code
>small code
>ShellExecute destination.pdf - this calls the associated Acrobat
>
>The ShellExecute function is not fininshing the first instanc before starting the second thus causing the conflict.
>
>Can anyone give me a suggestion on how to get the thing to work sequentially.
>
>Thanks in advance
>Terry
Have you looked at Ed Rauh's APIRUN in the file's section?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement