Wouldn't it be simpler to use CreateProcess ("wget.exe", cmd_line, NULL, NULL, FALSE, DETACHED_PROCESS, ...) That flag will automatically hide the process.
Thanks, I'll look into it as a simpler altenative solution. One nice side effect of wget source recompilation is that I was able to disable SSL support which I don't need and did away with the two OpenSSL DLLs.
And yes, main() had to be changed to WinMain().
I have a lean non-console version of wget now!
Best regards, Vesko
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail