Q
QSIDeveloper
Hosting an AxWebBrowser control in a C# 2.0 application we are trying to run
java applets. When running on server 2008 we gat the error ‘FATAL - Program
- Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.’
We know the problem is that Data Execution Prevention is on.
If we use Post Build Steps:
call "$(VS90COMNTOOLS)..\..\VC\bin\vcvars32.bat"
call "$(VS90COMNTOOLS)..\..\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"
on the application this corrects the problem.
Is this inherent to using the AxWebBrowser control.
(We would use the ,NET browser but there are some event missing that we need.)
He question is there a way to accomplish this in code so we don’t need the
post build steps?
IS there a better way to host a browser?
java applets. When running on server 2008 we gat the error ‘FATAL - Program
- Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.’
We know the problem is that Data Execution Prevention is on.
If we use Post Build Steps:
call "$(VS90COMNTOOLS)..\..\VC\bin\vcvars32.bat"
call "$(VS90COMNTOOLS)..\..\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"
on the application this corrects the problem.
Is this inherent to using the AxWebBrowser control.
(We would use the ,NET browser but there are some event missing that we need.)
He question is there a way to accomplish this in code so we don’t need the
post build steps?
IS there a better way to host a browser?