简体   繁体   English

VB.NET在项目中包含.exe并附加到主进程

[英]VB.NET include .exe in project and attach to main process

I have a VB.NET project (main.exe) and include an additional .exe application as internal resource. 我有一个VB.NET项目(main.exe),并包含一个附加的.exe应用程序作为内部资源。 Now I do not want to run the extra .exe as a separate process but want to attach it to the process of main.exe so I have just 1 process overall and not 2. 现在,我不想将额外的.exe作为单独的进程运行,而是希望将其附加到main.exe进程中,因此我总体上只有1个进程,而不是2个。

Can this be done somehow? 可以以某种方式做到这一点吗?

Thanks 谢谢

解决方案是将Additional.exe编译为.dll并在VB.NET中使用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM