SetProcessDEPPolicy API causing issues with VB6 activex

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

SetProcessDEPPolicy API causing issues with VB6 activex

Postby Meghavi » Wed Dec 04, 2013 5:36 am

Hi,

We are hosting some VB6 activex controls in our application along with Chromium .
there is a known issue with VB6 activex controls and Data Execution Prevention in Windows 7. due to this we disable DEP for our process.
but it seems CEF is using SETProcessDEPPolicy to enable DEP which is causing our application to crash.

Also Unfortunately this API acts in a way that once it turns on DEP, it can’t be turned off with the API.

Is there a way we can set some flag/switch so that CEF does not enable DEP policy?

Thanks,
Meghavi
Meghavi
Techie
 
Posts: 29
Joined: Fri Sep 20, 2013 4:48 am

Re: SetProcessDEPPolicy API causing issues with VB6 activex

Postby magreenblatt » Thu Dec 05, 2013 2:53 pm

What CEF version are you using? You can search for MITIGATION_DEP in the source code: https://code.google.com/p/chromium/code ... um&type=cs. To disable this you'll need to build your own custom CEF version.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: SetProcessDEPPolicy API causing issues with VB6 activex

Postby Meghavi » Wed Jan 15, 2014 6:12 am

Yes we had to create our custom CEF to disable it.
It would be better to have a configuration for these sort of things.

Thanks,
Meghavi
Meghavi
Techie
 
Posts: 29
Joined: Fri Sep 20, 2013 4:48 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 188 guests

cron