A bit of a long shot.
有点远射。
I have a 32 bits app. There is some code within it that would perform better under 64 bit. I cannot convert my entire app to 64 bit.
我有一个32位的应用程序。其中有一些代码在64位下表现更好。我无法将整个应用转换为64位。
So, can I run part of my app under a different process but also on a 64 bit process?
那么,我可以在不同的进程下运行部分应用程序,还可以运行64位进程吗?
Thanks
谢谢
1 个解决方案
#1
3
No. You can't. The bits the application is running on is specified on the process, not on a thread or AppDomain.
不,你不能。运行应用程序的位是在进程上指定的,而不是在线程或AppDomain上指定的。
The only alternative you have it to create a separate executable that runs on other bits. Call that process from your main process. If necessary, you can use some messaging mechanism to exchange information between the two like one of the classes that derives PipeStream.
您可以使用它来创建一个在其他位上运行的单独可执行文件。从主进程调用该进程。如有必要,您可以使用某种消息传递机制在两者之间交换信息,就像派生PipeStream的类之一一样。
#1
3
No. You can't. The bits the application is running on is specified on the process, not on a thread or AppDomain.
不,你不能。运行应用程序的位是在进程上指定的,而不是在线程或AppDomain上指定的。
The only alternative you have it to create a separate executable that runs on other bits. Call that process from your main process. If necessary, you can use some messaging mechanism to exchange information between the two like one of the classes that derives PipeStream.
您可以使用它来创建一个在其他位上运行的单独可执行文件。从主进程调用该进程。如有必要,您可以使用某种消息传递机制在两者之间交换信息,就像派生PipeStream的类之一一样。