'LPSECURITY_ATTRIBUTES' woes
I have a friend who's trying to compile his graduation project under Visual Studio from switching from Dev-C++. Everything is fine, but this is what he e-mailed me:
Thanks, I compiled some opengl projects, and I compiled yours. But I cant compile my project. I have a .h file that uses windows.h lib, and everytime I try to compile, I get the error:
c:\arquivos de programas\microsoft sdks\windows\v6.0a\include\wincon.h(196) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
I believe that wincon.h is called by windows.h.... But I dont know what to do...
I've searched Google for a solution and came up zilch. He said he's tried many things and can't get it to work.
Any help?
Slapping together bits from the Platform SDK (aka MSDN)
wincon.h "contains the public data structures, data types, and procedures exported by the NT console subsystem."
SECURITY_ATTRIBUTES is declared in Winbase.h; include Windows.h.
wincon.h "contains the public data structures, data types, and procedures exported by the NT console subsystem."
SECURITY_ATTRIBUTES is declared in Winbase.h; include Windows.h.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement