Jump to content
  • Advertisement
Sign in to follow this  
Maverick Programmer

'LPSECURITY_ATTRIBUTES' woes

This topic is 3811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!