http://hi.baidu.com/44498/blog/item/dabd37166a11bd10962b437d.html 启发思想
下面是我的C++引导程序
#include "stdafx.h"
#include<windows.h>
#include<iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
WinExec("bin\\mono.exe helloword.exe",SW_SHOWNORMAL);
system("pause");
return 0;
}
程序在win7 系统下可以正常运行
在XP系统中就不能正常运行了
显示错误
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `C:\Documents and Settings\Administrator\桌
面\Debug\lib\mono\2.0\mscorlib.dll' directory.
请按任意键继续. . .
在XP 中显示就是这样的了
球各位高人指点
如何用C++引导C#程序