Excluding MS VS std headers

Discussion in 'OT Technology' started by antiyou, May 9, 2006.

  1. antiyou

    antiyou OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    25,295
    Likes Received:
    0
    Location:
    in ur base
    I want to exclude one msvs standard header but not all of them. I do not want WinCrypt.h included, but I know it is being included although I am not doing it explicitly.

    If I set a #error to see if something defined in WinCrypt.h is defined, it proves true. If I turn off the include standard headers in my project settings it proves false.

    any ideas? :dunno:
     
  2. antiyou

    antiyou OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    25,295
    Likes Received:
    0
    Location:
    in ur base
    well this line

    #define NOCRYPT /* Disable include of wincrypt.h */

    will do something so that it is not inluded, I don't know how or why but if you ever need to exclude WinCrypt.h that does it.
     

Share This Page