Execute another program in C++

前端 未结 4 1356
失恋的感觉
失恋的感觉 2020-12-18 02:09

I want to remotely execute another application from my C++ program. So far I played along with the CreateProcess(...) function and it works just fine.

The problem ho

4条回答
  •  不知归路
    2020-12-18 02:49

    You're looking for ShellExecute(). That will even work if you pass it a proper URL, just like the Run menu.

提交回复
热议问题