
Process, Thread & Handler
Part 1 of the learning path
Reference:
Homework: Hello World! with Win32 API
Here an example of using the MessageBoxW() function:
Homework : create a Process
Now, in the video, if you stayed until the end, you'll have heard that I assigned you some homework. I wasn't kidding. Here's your homework. I want you to, using some of the Win32 API functions covered in the video, develop a program that will do the following:
Startup a process of your choosing, and print out some values like the
PID, TIDandHandlesfor the subsequent processes/threads. Then, have it wait for the process or thread to finish using an API likeWaitForSingleObject()before closing the handles to your thread and process, using an API likeCloseHandle().
My solution for the homework's crow:
Homework : open a Process
TODO !
Last updated