470,594 Members | 1,120 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

GetEnvironmentVariable failing in SOAPHttpClientProxy constructor

Hi folks,

We've got a VB6 app that needs to shell out to a .NET executable. The
main VB6 app calls a plugin dll (also VB6) which simply uses Shell (or
CreateProcessA, we've tried both) to start the exe with some
command-line parameters. The web service proxy constructor, however,
is throwing "Index out of bounds". There is no custom code at all in
the proxy constructor, so this is happening somewhere in the base
class, SOAPHttpClientProxy.

Using the exact same command line from the console works perfectly, as
does calling shell directly from a test VB6 executable. I'm assuming
at this point that the identity is somehow getting mangled, but I
can't for the life of me discover the cause.

Anyone have any ideas?

Mike Burton
Jul 21 '05 #1
0 1031

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Anonymous | last post: by
3 posts views Thread by Jack | last post: by
reply views Thread by François Lemaire | last post: by
6 posts views Thread by Nikolay Petrov | last post: by
reply views Thread by tejaswini.ks | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.