المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Build Error in Process Enum pgm



C++ Programming
06-15-2013, 11:53 AM
I am trying to enumerate processes and WriteProcessMemory. I get the following errors on compilation in Visual C++. I just don't do anything related to TOKEN and all. How to solve the error ?

error C2061: syntax error : identifier 'TOKEN_INFORMATION_CLASS'
error C2061: syntax error : identifier 'PTOKEN_PRIVILEGES'
error C2061: syntax error : identifier 'PTOKEN_GROUPS'
error C2061: syntax error : identifier 'TOKEN_TYPE'
in file c:\program files\microsoft sdks\windows\v6.0a\include\winbase.h