Vista Compatibility Team Blog

C2065: 'TOKEN_LINKED_TOKEN' : undeclared identifier

If you get    

error C2065: 'TOKEN_LINKED_TOKEN' : undeclared identifier    

when you try to compile a VC++ project that needs to get the linked token through GetTokenInformation, you need to get the Microsoft Windows SDK for Windows Vista. This is true for all the new Vista APIs of course. The SDK that shipped with Visual Studio is old and was built prior to Vista's existence.

You need to add the include, bin and lib directories of the platform SDK (default is C:\Program Files\Microsoft SDKs\Windows\v6.0) to Tools\Option\VC++ directories.

Maarten

Published Wednesday, April 18, 2007 2:15 AM by VistaCompatTeam
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker