User profile: tigerlcf

User info
User name:tigerlcf
History
Joined:
Number of posts:9
Latest posts:

In C++ how to call Windows "Disk Management" and wait until it is closed (completed)
NO If you use "MMC.EXE diskmgmt.msc" as the commandLine value of CreateProcessA the value of pi.dwP...

In C++ how to call Windows "Disk Management" and wait until it is closed (completed)
cmd /c start /wait diskmgmt.msc Works like I want it to from a DOS CMD.EXE windows, But NOT from ...

In C++ how to call Windows "Disk Management" and wait until it is closed (completed)
Maybe it looks better if I add indented code! [code]// This program tries to start "Disk Management...

In C++ how to call Windows "Disk Management" and wait until it is closed (completed)
I added WaitForSingleObject( pi.hProcess, INFINITE ); as you suggested in the code in "Try #2" just...

In C++ how to call Windows "Disk Management" and wait until it is closed (completed)
I'm using Visual Studio 2019 Community. I'm trying to call the Windows 10 program "Disk Management...