We built a dynamic library for Windows in C using Microsoft Visual Studio 2008. This library executes many console programs. When this library is used by a GUI Application, console Windows flash on the screen. We need to avoid these screen flashes.
The following is a sample command line executed by the library:
system("ver 2>nul > OS_version_file");
Is there any method to avoid the screen flashes?