Re: DEP dedection under MS Windows Virtual PC

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





"Alexander Grigoriev" <alegr@xxxxxxxxxxxxx> schrieb im Newsbeitrag news:ese3d6wXJHA.2440@xxxxxxxxxxxxxxxxxxxxxxx
Why don't you just change the page protection and make the code continue.


Hello,

i was not aware that i can change the DEP setting inside my application.
Or do i missunderstand your mail?

i have a DLL with a function that does some HW analysis and some crypting and generate a 256bit number based on the HW found. i have no source from the DLL.
This DLL works fine since about 10 years. but it traps in any MS-OS running in MS Virtual PC when DEP is enabled in the guest.
I want my app to report this scenario (when my app is started in a virtual PC with DEP enabled) and terminate.

thats all i want.

mario semo.

.



Relevant Pages

  • Re: DEP dedection under MS Windows Virtual PC
    ... there is no DEP, but the DLL fails to run anyway? ... But with DepEnabled, the DLL traps. ... There is a 2nd version of the DLL available which ignores some HW parts and this version does not trap with DEP enabled inside VMPC ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DEP dedection under MS Windows Virtual PC
    ... i was not aware that i can change the DEP setting inside my application. ... i have a DLL with a function that does some HW analysis and some crypting ... exception doesn't happen in the context of the DLL's own thread), ... Use VirtualProtect to change the page to PAGE_EXECUTE_READWRITE. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DEP dedection under MS Windows Virtual PC
    ... find one) or more realistically on still-current processors without DEP ... Pentium II or that my DLL will fail on Pentium II? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DEP dedection under MS Windows Virtual PC
    ... first thanks for the reference to the virtual PC check. ... my code works fine on PCs with / without DEP, with/without DEP enabled, in any guest OSes running in VmWare but not in MS Virtual PC based PCs when DEP is enabled (in this scenario the DLL without source traps). ...
    (microsoft.public.win32.programmer.kernel)
  • Re: ADDITIONAL INFO RE: Data execution prevention - none of these work!
    ... Every attempt to execute the change gives me the DEP message about "run ... and checked the box for an exception on "run .dll as an app". ... So I switched to "turn off DEP", ... The KAV disc, once booted, uses DHCP to establish a connection ...
    (microsoft.public.windowsxp.general)