Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute result codes
Message
From
19/06/1998 14:13:59
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00108874
Message ID:
00110003
Views:
57
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform