c# WebBrowser SVG Windows 2008 R2
I have a WebBrowser in my C# application, in which i want to show a SVG file. However, when I run the app on a Windows 2008 R2 machine, the SVG file does not show up. When I have a look at the same file on the same server in Internet Explorer, everything looks ok.
What i already have tried:
- IE ESC settings on or of开发者_JS百科f
- Trusted Sites / Local intranet sites
- Run 32 bits
- do the following override:
(from this blog)
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case 21:
case 201:
case 204:
case 207:
base.DefWndProc(ref m);
return;
}
base.WndProc(ref m);
}
Can anyone help me out with this issue? Thank you!
The problem was Data Execution Prevention (DEP). After switching this off, it works!
精彩评论