Visual Studio窗口形成控制问题 [英] Visual studio windows form control issue

查看:79
本文介绍了Visual Studio窗口形成控制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我有一个帮助,有人可以告诉我什么窗口控件,我可以添加到我的窗体,允许我在父窗体内运行游戏可执行文件,而不是从窗口外的外部EXE调用程序像你通常的形式..



它像一个图片框控件,图片可以在父窗口窗体内但是为了我的缘故,我想要这个,但有一个在父窗口窗体内运行的PC游戏有没有人知道我可以下载的视觉工作室控件添加到工具箱中谢谢...



或者一些c ++代码可以为我做这个,但一个Windows窗体控件会更好...下载链接请谢谢。



我尝试过:



我研究了某种视觉工作室控制但没有运气....

解决方案

据我所知,你不能这样做,至少没有来自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. ;-)


这篇关于Visual Studio窗口形成控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆