what im after is how to make the console window not show but do a command.
because im using
system("command")
in a win32 api app but it shows the console box when doing the command.
is there any way to make it not show?
thanks
what im after is how to make the console window not show but do a command.
because im using
system("command")
in a win32 api app but it shows the console box when doing the command.
is there any way to make it not show?
thanks
>is there any way to make it not show?
Click on the minimize button.
My best code is written with the delete key.
lol
nah it just makes people think whats that and there not to sure wat it is and i get alot of questions
just wont to make it so it doesnt show up and does the command
>nah it just makes people think whats that and there not to sure wat it is and i get alot of questions
You shouldn't be running stuff on their computers then.
BTW, you can get your answer in the Windows Programming forum. C doesn't know anything about hiding a window.
My best code is written with the delete key.
What is "command"?
Perhaps there is a better way of performing "command" without using system()...
If you're running on an NT based system, you can use "start /wait /min <command>".
Otherwise, you'll have to use something other than system() like ShellExecute() or CreateProcess().
gg