简体   繁体   English

屏幕在GUI应用程序中闪烁控制台窗口

[英]Screen flashes console windows in GUI application

We built a dynamic library for Windows in C using Microsoft Visual Studio 2008. This library executes many console programs. 我们使用Microsoft Visual Studio 2008在C中为Windows构建了一个动态库。该库执行许多控制台程序。 When this library is used by a GUI Application, console Windows flash on the screen. 当GUI应用程序使用此库时,控制台会在屏幕上显示Windows闪存。 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? 有什么方法可以避免屏幕闪烁吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM