Hello,

I am trying to fin software (call it software 'X') that will be used for this:

When user clicks 'Shut down' button, there should be some software (which is always open) which has a task to close application I "tell" him to close (in my case EasyPHP). It is kind like opposite of Win "Start up" option, what I want is some kind of "Start down" option.

So, user clicks 'Shut down' button, application EasyPHP closes, because I "told" program 'X' to close it, and then shut down process continiues to do what it usually does.

I hope someone can help me with this because it would mean a lot to me!

All the best,
Adi

This might work for you...

Hello,

Thank you very much for your help.

Reason I asked this question is because I would like to close automatically program called "EasyPHP" on my PC before sutdown because it is giving me error message from apache.exe or mysqladmin.exe like this

"the application was unable to start correctly 0xc0000142"

Not sure why? When I first exit "EasyPHP" before shutdown then there is no error message.

I hope someone can help me with this.

Thank you!
Adi

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.