我正在开发一个使用 .Net 4.0、C# 编码的 64 位应用程序。
在此应用程序中,在某些时候,我需要启动另一个exe使用以下代码创建文件:
l_process.StartInfo.FileName = _sFullFilePath;
l_process.StartInfo.Verb = "Open";
l_process.StartInfo.CreateNoWindow = true;
l_process.StartInfo.Arguments = l_sParams;
l_process.Start();
现在,这个外部应用程序在 32 位环境 (x86) 下编译,我收到以下错误:
**The specified executable is not valid for this OS platform**
有可能这样做吗?如果是,我怎样才能顺利地从我的应用程序启动这个应用程序?
通常,在 64 位计算机上运行 32 位程序不需要额外的工作。
- 尝试单独运行32位程序。
- 读这个:http://www.techsupportalert.com/content/how-windows7-vista64-support-32bit-applications.htm http://www.techsupportalert.com/content/how-windows7-vista64-support-32bit-applications.htm
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)