This is a bit of an "edge" case probably but I would be really grateful for ideas how to achieve this.
I've built a "fruit machine" cabinet that has a PC installed that runs some fruit machine emulation software. The PC isn't easily accessible so I've installed a 'physical' power on/off button, in easy reach, that is wired back to the power switch on the PC.
I've set up Windows 7 advanced power settings so that this button powers the PC on/off.
So far, so good... Unfortunately, when powering down the system hangs with a "access violation at address 007352BB in module mfme.exe. read of address 0000006c" message (mfme.exe being the software that is emulating the fruit machine).
A possible solution I thought of would be to write a small application that runs in the background and "intercepts" the power down trigger to kill the mfme.exe process first before the PC continues to shut down.
Is this possible?