Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

How can I get back the control

sreevani
Beginner
369 Views
Hi,
I have written a CVF code which is Quickwin windows based application in which my exe call's another tool for parsing of files.through this command
RunQQ(..)
This tool inturn call's the exe for some of the parameter accessing.Usind this command
exec ...
So I have made the accessing of the tool as a batch process.
Now the problem I am facing is when the second time the tool access my exe the control is moved to exe and it is not allowing me to work on any other applications like word or notepad or anything else.
Could any one help in this so that though the tool is running at the background I need the control to be released so that I can work on other applications.

thanku
0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
369 Views
I don't see how a single process can "take over the control" over the computer? If this is really the case, there's something really broken with your computer.

If you mean that your console application occupies entire screen, you can switch it to window-mode by pressing Alt+Enter and/or access other running application using Alt+Tab.

See also this newsletter article about CreateProcess API, which gives you finer control over process execution, including window hiding (add startupinfo%dwFlags = STARTF_USESHOWWINDOW and startupinfo%wShowWindow = SW_HIDE). You can search this forum for CreateProcess as well.

Jugoslav
0 Kudos
Reply