Hey there everyone, i will try to be as simple as possible to prevent confusion.
I have a project named MyProject ok..
I have a folder with MyProject and includes.h
I call the includes.h file located in the same folder as MyProject.
When compiling to .exe i get this error:
C:\Documents and Settings\*****\Desktop\MyProject\includes.h(18) : fatal error C1083: Cannot open include file: 'windns.h': No such file or directory
I dont get the error considering includes.h is in that directory but Microsoft Visual C++ just cannot find it.. Why is this? Help is more than appreciated... I think i need the windns.h file which i cannot find, does anybody have it?
Thanks
Last edited by Revivalry; May 5th, 2008 at 01:09 PM.
Re: Problem Compiling Code In Microsoft Visual C++
what version of C++ are you using? not 2005 express by any chance?
~ if a post is resolved, please mark it as [Resolved] protected string get_Signature(){return Censored;} [vbcode][php] please use code tags when posting any code [/php][/vbcode]
Re: Problem Compiling Code In Microsoft Visual C++
it's in VC6 & VC2003, i found it in both them places on my drive. maybe it's worth checking on the disk for your version of VC if it's in there, or trying a software update on it, to see if it gets included in to your includes folder.
here's a link for Service Pack 5 & here's a link for Service Pack 6 , those are for Visual Studio 6.
maybe worth a try doing the upgrade to see if it adds any missing components.
~ if a post is resolved, please mark it as [Resolved] protected string get_Signature(){return Censored;} [vbcode][php] please use code tags when posting any code [/php][/vbcode]