Sign in to follow this  
scarypajamas

String error when including windows.h

Recommended Posts

scarypajamas    409
For some reason, whenever I include <windows.h> in my project, I get the following error:
Quote:
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ncrypt.h(7) : warning C4068: unknown pragma 1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ncrypt.h(9) : fatal error C1083: Cannot open include file: 'gnu/gcj/convert/UnicodeToBytes.h': No such file or directory
I'm using the MSDNAA version of Visual Studio 2008 Processional Edition. Its weird because this error only started recently.

Share this post


Link to post
Share on other sites
scarypajamas    409
Quote:
Original post by BrickInTheWall
Try changing from unicode to multibyte in your project options.


Nope, didn't change anything.

Perhaps re-installing the windows sdk 6.0A might fix the problem??

EDIT:
I reinstalled it and now it works again.

[Edited by - scarypajamas on February 13, 2010 3:42:37 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this