在WPF窗口中托管Win32应用程序 [英] Host a win32 application inside WPF window
问题描述
我有一个视频应用程序源作为Win32应用程序.我想使用WPF增强UI.我只需要应用程序中的视频帧..
我遵循了https://blogs.msdn.microsoft.com/ivo_manolov/2007/10/08/wpf-win32-interop-part-2-hosting-win32-controls-listbox-in-wpf-windows/
I have a video application source as Win32 application. I want to enhance the UI using WPF. I need only the video frame from the application..
I followed https://blogs.msdn.microsoft.com/ivo_manolov/2007/10/08/wpf-win32-interop-part-2-hosting-win32-controls-listbox-in-wpf-windows/
仍然无法完成此操作.我找不到很多示例程序.
如果将Win32app托管到WPF中的示例程序对我会有所帮助>
Still I can't accomplish this. I cant find much example programs for this.
I will be helpful if a sample program to host our Win32app into WPF>
谢谢.
推荐答案
msdn上有演练:
There's are walkthroughs on msdn:
https://msdn.microsoft.com/en-us/library/aa970061(v = vs.100).aspx
https://msdn.microsoft.com/en-us/library/ms752055(v = vs.100).aspx
这篇关于在WPF窗口中托管Win32应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!