r/computerscience • • Apr 25 '26

Discussion ELI5 How a Win32 process is spawned?

Assuming the application is written in C using Win32, what's the whole graph/steps of the process of spawning an application and getting it's window to show on the screen?

6 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/MasterGeekMX Bachelors in CS Apr 25 '26

I was talking about how the program asks for stuff. Yes, the program code catches the user input of the GUI, but the actual rendering is managed by the OS, and the API to the OS is system calls via interruptions.

2

u/david-1-1 Apr 26 '26

I'm not going to get into an argument with you. I don't care if you think your answer was helpful. Do whatever you want to.