ShellExecute command does not work from service in windows 7 RRS feed

  • Question

  • I want to execute DOS commands in my c++ application. I am running this application as a service.

    When I run this service in windows XP then it works fine, executes my DOS command (by checking "Allow service to interact with desktop" this tab.)

    But same service when I run in windows 7 ShellExecute fails. it does not execute it. I have tried it by giving administrative rights also but nothing works for me.

    Can anybody help me?

    Wednesday, November 12, 2014 6:44 AM