在MFC中嵌入第三方exe [英] Embed Third party exe in MFC

查看:102
本文介绍了在MFC中嵌入第三方exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,我是VC ++的新手.我有.exe文件.它用于播放视频文件.我想将此exe嵌入到MFC对话框中.我已经读过一篇有关用MFC嵌入画图的文章.但是如果我用exe代替画图代替exe,则使用相同的源代码,它会在单独的窗口中打开我的exe,并且像关闭窗口一样无法对其进行控制仅关闭对话框,并且exe保持打开状态,如果我单击exe,它将以全屏模式显示.
我想要的是嵌入exe并禁用事件并重新调整相同exe的大小.
该exe的制造商没有提供任何API.请帮助我解决问题.

Hi Friends I''m new to VC++.I have the .exe file. It is used to play video files.I want to embed this exe into MFC dialog. I have read a article regarding embedding paint with MFC.But the same source code if i replace my exe instead of paint,It opens my exe in separate window and also I don''t have control over it like when I close the window it closes only dialog and exe remains opened and If I click the exe it shows in the full screen mode.
what I want is to embed exe and disable events and re-size the same exe.
There is no API''s provided by the manufacture of that exe.Kindly help me to solve my problem.

推荐答案

我不知道该怎么办此:我替换了我的exe而不是绘画".
以我的经验,您可以通过ActiveX尝试一下. (将视频播放ActiveX插入到程序中)然后,您可以使用自己的代码对其进行控制.
I don''t know how you can do this:" i replace my exe instead of paint".
In my experence you can try it by ActiveX. (insert an Video play ActiveX to your program)Then you can control it with your own code.


这篇关于在MFC中嵌入第三方exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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