• Advertisement
Sign in to follow this  

String error when including windows.h

This topic is 2932 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

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
Advertisement
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
Sign in to follow this  

  • Advertisement