General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only