标签: c++-cli
我试图执行这个C ++程序时得到这个。为什么呢?
代码是:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { Shell("maplestory.exe")
答案 0 :(得分:0)
您需要.NET库中的System.Shell.execute,或者需要调用Windows API ShellExecute。