|
-
May 5th, 2008, 12:58 PM
#1
Thread Starter
Member
Problem Compiling Code In Microsoft Visual C++
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.
-
May 5th, 2008, 01:46 PM
#2
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]
-
May 5th, 2008, 01:47 PM
#3
Thread Starter
Member
Re: Problem Compiling Code In Microsoft Visual C++
im pretty sure it's 6.0
Was thinking of getting 2008.. does that include windns.h?
-
May 5th, 2008, 03:18 PM
#4
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]
-
May 5th, 2008, 03:32 PM
#5
Thread Starter
Member
Re: Problem Compiling Code In Microsoft Visual C++
Ok thanks very much ill get em now and c wt i can get
But don't i need the MSDN library?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|