[Solved] Is my application runs from inside Visual Studio vs. by executing an EXE file
[ad_1] It not exactly solution, but: Raymond Chen(Microsoft winapi guru*) is most close in spirit to the problem I facing, helping me detect in what mode or circumstances I run my console session. How can I tell whether my console program was launched from Explorer or from a command prompt? printf(“this process = %d\n”, GetCurrentProcessId()); … Read more