Hi, im new to C++ and can make simple console applications and such. I would like to know how i can send a WM_QUIT to a process by specifying the process name. For example, if the processname variable contains "notepad.exe", it will send WM_QUIT to it.
I want to send WM_QUIT not WM_CLOSE tho, for reasons i cant reveal :O
If anyone can help me, i would be eternally grateful