开发者

Use 32-bit webBrowser Control in Any-CPU WPF Application

开发者 https://www.devze.com 2023-03-15 09:14 出处:网络
I am writing a VB.Net WPF application that needs to display HTML content and websites. I am doing this using the webBrowser control. The开发者_开发百科 application takes a significant performance hit

I am writing a VB.Net WPF application that needs to display HTML content and websites. I am doing this using the webBrowser control. The开发者_开发百科 application takes a significant performance hit running under x86 and I would really like to keep it set to Any-CPU. However the webBrowser controls need to be 32bit so they can run flash. So is there any way of achieving this? Running the 32-bit webBrowser in a 64bit process, or some alternative control that will manage this and allow me to load HTML from a string and a URL?

Thanks for your help, and sorry I have not set this question out better, I have a killer headache right now.

Sam.


No, you cannot mix 32 bit and 64 bit code in the same Windows process.

Maybe you should investigate why your 32-bit application takes a performance it. Unless you work with really large amounts of data the need the increased 64-bit address space, t*here is no reason a 32-bit application should be significantly slower*. As an example, have a look at Rico Mariani's blog posts explaining why Visual Studio 2010 is only 32-bit.

0

精彩评论

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