You can use GetExitCodeProcess
. It will return STILL_ACTIVE
(259) if the process is still running (or if it happened to exit with that exit code 🙁 ).
More Related Contents:
- Prevent user process from being killed with “End Process” from Process Explorer
- Getting another process command line in Windows
- How to get the starting/base address of a process in C++?
- How to get main window handle from process id?
- Deploying Qt 5 App on Windows
- OpenCV with Network Cameras
- Qt 5.1.1: Application failed to start because platform plugin “windows” is missing
- Start Windows Service From Application without Admin right(c++)
- Create a directory if it doesn’t exist
- C++ compiling on Windows and Linux: ifdef switch [duplicate]
- Can I use CreateFile, but force the handle into a std::ofstream?
- What is the meaning and usage of __stdcall?
- Use WM_COPYDATA to send data between processes
- How to pass the Windows Defender SmartScreen Protection?
- How do you read directly from physical memory on Windows?
- updating a string table with UpdateResource
- How can I get the path of a Windows “special folder” for a specific user?
- How to print UTF-8 strings to std::cout on Windows?
- C++ Executing CMD Commands
- How can I read BMP pixel values into an array?
- Using C++ to edit the registry
- Can OpenSSL on Windows use the system certificate store?
- Make a window topmost using a window handle
- C++ Memory Barriers for Atomics
- Win32: How to hide 3rd party windows in taskbar by hWnd
- Can’t get visual studio C++ include file ‘excpt.h’ to get installed
- libgmp-10.dll is missing
- How to Run Only One Instance of Application
- Where can I get windows.h for Mac?
- How to execute another exe from a C++ program in Windows