Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-02-2006, 10:46 AM   #1 (permalink)
Red Sentinel
Will code for experience
 
Red Sentinel's Avatar
 
Join Date: Feb 2006
Posts: 5
Red Sentinel is on a distinguished road
Angry Missing windows.h, eh?

If this is in the wrong section, feel free to beat me down and move it.

It seems that my compiler (Microsoft Visual C++ 6.0) is unable to find the header file windows.h. Does this particular compiler, perhaps, not have such a file included?

This is proving to be a bit of a problem, because some code I'd like to test requires this header. Have I done something wrong, or am I simply missing a file?

ETA: Nope, wait. I've found the header file, but the compiler still insists that there is no such thing. Anybody else havign this problem?
Red Sentinel is offline   Reply With Quote
Old 02-02-2006, 11:58 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
I'm guessing the platform/API specific section will do just fine for this type of problem.
As for the missign windows.h file, I'm not quite sure where how to aproach it, how is the file included ? is it like
Code:
#include "windows.h"
Or is it like
Code:
#include <windows.h>
Since the last one should try and find it in teh normal include library.
I havn't touched Visual C++ much, but is the project you're trying to compile started as a project or is it just a fast I want to try and see if this code compiles ?
With this I'm thinking of the times when the IDE has no idear how to find common header files, since the compilation of the project isn't run as a combined project, but rather as a single file compilation. (I hope you're folowing my thoughts on this, since I have no otehr way of explaining it)
And last but not least, does the program know which includes libraries to look for ? And are they placed where the library settings are pointing ?
Perhaps the last thing here is more of a linux/gcc thing, but visual C++ might have a similar way by system-variables which tells it where the include libraries are located.

Anyway, welcome here at Code Newbie Red Sentinel, I hope you will find your stay just as intoxicating as the rest of us
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What am i missing? bradleyc Standard C, C++ 3 09-09-2005 02:15 AM
Glx Ilya020 Linux / BSD / OS X 3 10-24-2003 04:39 PM
attn: Missing! sde Lounge 17 12-01-2002 09:25 PM
Another Missing post rdove Feedback 2 08-16-2002 11:46 AM


All times are GMT -8. The time now is 03:24 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting