I'm having some trouble with a program I'm developing behaving differently between Windows 7 Professional SP1 and Windows XP Professional SP3 upon shutdown. It should prompt the user to save when shutting down, similar to Excel. Excel works in Windows 7 and XP, but my program only works in 7.
I've tried using
taskkill /im process.exe
just for my process and
taskkill /im explorer.exe /t
for the explorer tree in attempt to isolate the issue, but my program acts as intended. Does anybody have any insight to how the shutdown procedure works in terms of how it kills processes? Are there any differences between Windows XP and Windows 7?