473,506 Members | 17,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

another problem :s getting an error :s

21 New Member
#include <stdafx.h>
#include <windows.h>

int CALLBACK WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
{
MessageBox(NULL, "VISUAL PROGRAMMING \n\n FIRST ASSIGNMENT", "Virtual Uinversity of Pakistan", MB_OKCANCEL);
return 0;
}


I am getting an error "Error1 fatal error C1083: Cannot open include file: 'windows.h': No such file or directory h:\visual studio 2008\projects\pc080400184_cs410_1\pc080400184_cs41 0_1\pc080400184_cs410_1.cpp 5 Pc080400184_cs410_1"

I have installed my vs08 on h drive ...
Nov 5 '08 #1
5 1283
JosAH
11,448 Recognized Expert MVP
Jeez, can't you people think anymore? You installed VS2008 on an h: drive; your
compiler was able to find the first .h file: it only complained about the second .h
file. Bother files are part of that installation. Doesn't your Sherlock Holmes gene
rear its head? I guess not; all you do is ask us on this forum. As if we know what
silly things you have done. Go and check first. Where are these files? Are they
in place? Where does your compiler search for include files? Is your installation
alright? Can you compile and run other (simple) source files?

Don't come to us with those open-ended questions.

Jos

ps. cute directory names btw.
Nov 5 '08 #2
stdvu
21 New Member
gosh ........ that was rude ......
Nov 5 '08 #3
JosAH
11,448 Recognized Expert MVP
gosh ........ that was rude ......
You could also consider it a little hint to start thinking for yourself; don't expect
to be pampered here if you act as a brain dead child. If you do, programming is
not for you.

Jos
Nov 5 '08 #4
stdvu
21 New Member
ahaan...........thanks neway..........
Nov 5 '08 #5
JosAH
11,448 Recognized Expert MVP
ahaan...........thanks neway..........
And please at least try to write proper English; this is an international forum and
your over-punctuated sms babble is hardly readable for your reading audience.

Jos
Nov 5 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

12
6508
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
2
15399
by: RC | last post by:
I am getting the following error message. "Write Conflict this record has been changed by another user since you started edting it. If you save the record, you will overwrite the changes...." I...
4
3856
by: Serdge Kooleman | last post by:
hi how to use my class from another class (.Net 2005) i have web project (one page) and created a class MyClass in separate file, the same folder, included in project.
2
3079
by: camma0001 | last post by:
Hi. I'm in a jam... I restored a DB2 database from one win 2003 DB2 8 server system to another DB2 8 server system now I can't connect. I'm trying to connect my tomcat app server to the remote...
19
1517
by: the other john | last post by:
I'm trying to enhance a script to do the following things. 1). detect the first four words of a paragraph and stylize them (already does that) 2). Capitalize and stylize the first letter of each...
0
297
by: pintu | last post by:
Hi..I posted my message earlier but it was not properly described..so am posting again. I am working in an application in which i hav to send the contents of an xml file(from my local machine)...
7
93644
by: NeverLift | last post by:
This is probably answered elsewhere, but I've searched the Web and VBA for Excel manual, find no answers. I have a VBA-coded macro in an Excel workbook that is to open another existing workbook --...
1
1486
by: Sejoro | last post by:
I fixed the operand problem (thanks) and now a new one has risen up. I have to compile it with a makefile which I have made and I am getting more strange errors I don't know how to fix. Well,...
41
2776
by: Twayne | last post by:
Hi, How would I go about "forcing" a user from one page to another? I have a very simple random question/answer entrance requirement for an e-mail form. After 3 page views most people are...
1
1592
by: madankarmukta | last post by:
Hi, I am getting the problem in the batch file as - "The process cannot access the file because it is being used by another process" My Batch File contains the copy command as - ...
0
7220
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7479
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1534
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.