Can you use an API to hide the console window if you want to run a program in the background without the window popping up? could use some help all I found on the web was this but i don't know how to use it...
memset(&StartupInfo, 0, sizeof(StartupInfo));
StartupInfo.cb = sizeof(STARTUPINFO);
StartupInfo.dwFlags = STARTF_USESHOWWINDOW;
StartupInfo.wShowWindow = SW_HIDE;
grateful for any help at all...