'LPSECURITY_ATTRIBUTES' woes

Started by
0 comments, last by LessBread 15 years, 9 months ago
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?
Holy crap, you can read!
Advertisement
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.

"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man

This topic is closed to new replies.

Advertisement