08-14-2008 12:19 PM
I'm attempting to replace a call to system() with LaunchExecutableEx to allow for more control over window appearance. The application I am calling is sending some SNMP commands. I eventually send the same commands, using the same function, to a remote client and to localhost. The actual calls to the executable contain a LOT of arguments; Paths, tokens, IP addresses...
However, the ones sent to localhost never make it to the listening server I've setup. But, ONLY if I'm using LaunchExec... it works just fine with system...
LaunchExec... returns a valid handle, and no errors. I've renamed the executable during runtime and made sure it was throwing errors, and it is.
I does this ont he first call to LaunchExec... so I'm sure it's nothing to do with the number of processhandles being made.
Anyone else ever have this issue?
08-19-2008 06:55 PM
Hey Crymsenn,
What are you passing in as your arguments to LaunchExecutableEx? Also, have you tried using your local IP address instead of using localhost?
Lars