开发者

Windows - forcing the display of one process/form within the confines of another

I am looking for suggestions on how to, on Windows, execute a windows form and/or WPF application, and force it's display to always be shown within the grahpic context of another completely separate process (basically as if the "child" process were simply another form control).

As a little bit of background, we have a legacy 32 bit application that we have inherited, of which relies upon quite a few third party libraries that are not offered by their respective supp开发者_JAVA百科liers as 64 bit assemblies. Our task is to augment this legacy application, which by itself has very little to no need for a 64 bit address space, with new functionality that requires more memory than any 32 bit process is able to provide.

As far as I know, we will need to support everything from windows xp x64 -> windows 2008r2/win7 x64.

I'm completely open to any suggestions, and appreciate very much everyone's input that respond!


I'm not aware of any techniques for achieving what you ask for - my recommendation would be to instead keep all of your UI in the 32 bit address space, and use inter-process communication to offload the memory intensive parts of your application into a separate process instead.


A possibility is to use 'Windows Hooking." It's pretty wild stuff. http://www.hook-api.com/ Search for those terms and you'll find some interesting stuff.

General explanation of hooking. http://en.wikipedia.org/wiki/Hooking

Another possibility is to use a third-party program like Citrix that can run non-Windows programs in a Windows window/environment. Perhaps getting that to run as a control in a Widnows app. I understand it's an old Win32 app, but in this case one could consider the old app "non-windows."

HTH

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜