1

我在尝试执行这个 C++ 程序时得到了这个。为什么?

代码是:

private: 
    System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
        Shell("maplestory.exe")
4

1 回答 1

0

您要么需要.NET 库中的System.Shell.execute,要么需要调用 Windows API ShellExecute

于 2012-12-12T21:04:15.747 回答