I'm try to find a way in which to detect instances of other program in VC++ (MFC classes).
For example, say I have 6 Paint program running at once, but I want to limit only to 3 at a time, how do I check and close the others right before it started to run?
Please help, I'm new to Window programming.