RE: problems with "CreateWellKnownSid"

From: Walter Poupore [MS] (waltpo_at_online.microsoft.com)
Date: 12/08/04

  • Next message: Durand Miller: "Re: Encrypted RPC using Schannel's SPPI for SSL and AuthInfo binding"
    Date: Wed, 8 Dec 2004 10:35:01 -0800
    
    

    Ensure that you have defined _WIN32_WINNT to an appropriate value in your
    code before your #include statements. For more details about _WIN32_WINNT,
    see
    http://msdn.microsoft.com/library/en-us/winprog/winprog/using_the_windows_headers.asp.

    If you still have a compile error after setting _WIN32_WINNT, ensure that
    the SDK include path precedes the compiler's include path in your compiler
    settings.

    --
    Walter Poupore [MS]
    --
    "RajNej." wrote:
    > Hi,
    > I am trying to use this api call CreateWellKnownSid(...), I am sure
    > this code will be used only on XP systems, so no problems there.
    > What I am facing now is I get this simple error:-
    > "error C2065: 'CreateWellKnownSid' : undeclared identifier"
    > I am pretty sure that I have the latest SDK, I searched for this
    > function and found it in Winbase.h...but I still get this error, even
    > after including the header file Winbase.h, though including only
    > Windows.h is enough...
    > Has anybody seen this before? in any case any help will be greatly
    > appreciated, Thanks,
    > Raj,
    > 
    > 
    

  • Next message: Durand Miller: "Re: Encrypted RPC using Schannel's SPPI for SSL and AuthInfo binding"

    Relevant Pages

    • Re: SDK issue
      ... Did you get the latest SDK? ... support for VC 6.0 has ended." ... I got the following compile error message: ... > InlineIsEqualGUID() is an ATL function, ...
      (microsoft.public.vc.mfc)
    • Re: Cannot Compile DirectShow
      ... It seems a path to the Platform SDK ... include directory is missing in the makefile. ... I still get a compile error. ... includes project files instead of make files. ...
      (microsoft.public.win32.programmer.mmedia)