I've actually found this problem defined a few times on the internet, but without a solution! doh!
I need to detect whether an incompatible app is running and prompting first, shut it down if the user wants to do so and run my app now. FindWindow needs either the caption, or the class name and, since the caption always changes, I looked at the class name in Spy++, but the problem is that the last set of numbers always changes!
Afx:400000:b:10033:6:650a27
Afx:400000:b:10033:6:32c356
I didn't write the app that I'm trying to shutdown, so I can't change the class name. I'm frustrated and have been digging for hours to no avail. Any ideas? thanks in advance
I need to detect whether an incompatible app is running and prompting first, shut it down if the user wants to do so and run my app now. FindWindow needs either the caption, or the class name and, since the caption always changes, I looked at the class name in Spy++, but the problem is that the last set of numbers always changes!
Afx:400000:b:10033:6:650a27
Afx:400000:b:10033:6:32c356
I didn't write the app that I'm trying to shutdown, so I can't change the class name. I'm frustrated and have been digging for hours to no avail. Any ideas? thanks in advance