Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexec
Message
De
11/04/2000 17:07:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00358330
Message ID:
00358366
Vues:
22
>>I'm doing it like below, but I still see the imaging window flash by. Am I missing a 0 in all the right places? :-)
>>
>>* main.prg
>>DECLARE INTEGER ShellExecute IN "Shell32.dll" INTEGER, STRING, STRING, STRING, STRING, INTEGER
>>
>>* subroutine.prg
>>=ShellExecute(0,"print",front_filename,"","",0)
>
>I don't think so, Todd. Of course, I declare the string as being passed by reference, and I do pass all parameters. Try that and see if that helps.

I'm really really new at this, what parameters are missing? I assume they go where the empty quotes are, but I really don't know what information I am supposed to provide.

"declare the strings as passed by reference" -- Don't understand. Passing by reference is done with the @ symbol, yes?
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform