I am sorry that the code i am using in wrapped in powerbuilder winsock.pbl (which is not either C or C++ code).
Sorry without code this would be just guessing into the blue sky... and there are many things that can go wrong if a 3rd party library/tool is involved. Maybe you can write your program in plain Winsock... or ask at a powerbuilder forum. Good luck!
yes this will hide the command prompt but what about the other application which will launch through command prompt.
You're correct: Cmd is hidden but the app it's executing not. Some solutions:
- create a shortcut to the exe and run that one. In the shortcut you can set options to hide it.
- If it is a console app you could route the display output to a NULL device (example:
Dir > null). See createprocess options.