473,569 Members | 2,688 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(HINSTAN CE hInstance,HINST ANCE hPrevInstance,L PSTR 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\p c080400184_cs41 0_1\pc080400184 _cs410_1\pc0804 00184_cs410_1.c pp 5 Pc080400184_cs4 10_1"

I have installed my vs08 on h drive ...
Nov 5 '08 #1
5 1284
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
6522
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 courses to pass the correct option value and then be displayed at the following URL: http://www.dslextreme.com/users/kevinlyons/selectResults.html ...
2
15405
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 have an Access 2002 database running on a single PC, the front and backend have not been separated yet. I have a form where I use a text box to...
4
3861
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
3082
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 DB2 database. It was initially configured to work against the local DB2 database. I can remotely connect via the DB2 command line, but my tomcat...
19
1532
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 paragraph (already does that via style sheet) 3). Count the number of paragraphs (or number of "vbcrlf & vbcrfl") so I can insert a images in...
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) to another server(www.ups.com) as http-request.As response i will get another xml file from that server. So what i did is i had 1.collected the data...
7
93652
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 -- a .xls file, not .csv -- copy data from it, paste that into the original workbook where the macro resides, then close the source workbook. If I...
1
1495
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, first of all, I don't know how to open a file in one function and use the same ifstream in another function in a separate file. And second of all, I...
41
2786
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 going to have successfully submitted their e-mail (enter/validate as human, enter message, send the message). If someone or something decides to start...
1
1595
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 - COPY "\\SharedFolder\File1.txt" D:\LocalFolder\File2.txt /y
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6287
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5223
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
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 we have to send another system
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.