且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio窗口形成控制问题

更新时间:2023-12-06 16:41:40

据我所知,你不能这样做,至少没有来自PC游戏的支持self(我不知道支持游戏的游戏)。


这不可能,因为外部exe在另一个进程中运行并且有自己的窗口。



唯一的可能是获取该exe的源代码并将其嵌入到exe中或作为COM组件启动它。



尝试不可思议的想法,你将没有运气。 ; - )

Hey I have a favor can somebody tell me what windows form control that I can add to my windows form that allows me to run the game executable inside of the parent form instead of calling the program from the foreign EXE outside of the windows form like you would normally..

Its like a picture box control where the picture can be inside of the parent windows form But for my sake I want this but Have a pc game run inside of the parent windows form does anybody know a visual studio control that I can download to add to the toolbox thanks...

Or some c++ code that can do this for me but a windows form control would be nicer... A download link Please thanks.

What I have tried:

I have researched for some kind of visual studio control but no luck....

As far as I know, you can't do that, at least without some support coming from the PC game itself (I am not aware of games supporting that).


No this isnt possible, because an external exe runs in another process and has its own windows.

The only possibility is to get the source code of that exe and embed it into you exe or start it as COM-component.

You will have "no luck" in trying impossible thinks. ;-)