Windows Mail Plugin not working ( blocked by Vista's DEP)

Discussion in 'General Technical' started by dolly, Jul 8, 2008.

  1. dolly


    Jul 8, 2008
    Likes Received:
    Hello Friends,

    I am using Windows Vista Ultimate Edition and I am builing an c++ ATL DLL in Visual C++ 6.0, which is an addin DLL for Windows Mail.

    When I run my Windows Mail, Vista's DEP (Data Execution Prevention) feature blocks it, and prompts that it blocked for security purpose as some other program tried to use windows mail data.

    But I have to hook into Windows Mail as have to put an addin to customize its GUI.

    I tried to turn DEP off for Windows Mail, but it didnt allow me (even in Full Admin Account).
    Also I turned DEP off for my exe (which loads my addin DLL, which further hooks into Windows Mail), but despite that Windows Mail is blocked.

    Also, when I build the project in Visual Studio 2005, it runs very well. (And I have not made any change in the project settings or code)

    It seems, VC 6 uses older compilers and VS 2005 uses latest ones so are compatible with Vista!

    But I have to use VC 6 only as it's my project's requirement!

    Please Help!

    Thanks a lot !!
    dolly, Jul 8, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.