Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute result codes
Message
De
19/06/1998 14:13:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00108874
Message ID:
00110003
Vues:
52
Hi David,

Thanks for the reply.

>A couple of more things. Can the test machine run the command in a regular old
>DOS window?

Yep. In fact, this is my fix that's going out to test now -- replace the call to ShellExecute with a cruddy old ! command. But, it works, so for now we're doing it that way.

>The HWND and nShowCmd are not sent by reference. And your ShellExecute call
>you don't pass liShowCmd by ref.

Good points. I'll try fixing these, but I'm wondering if this can cause the different behavior we're seeing?

>In my wrapper class I just declare the other args as string instead of string
>references, and pass object parameters without chr(0) terminating them. If you
>haven't downloaded spyin.zip from my website you might give the wrapper class
>a try just to see.

One of the other developers downloaded that, so I'll have to take a look and see what you're doing that we're not. ;-)

Thanks again for the help!

--Bruce
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform