473,671 Members | 2,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

my windows.h has GONE

my windows.h file (and probably lots of other headers) has suddenly
DISAPPEARED. Reinstalling the SDK didn't fix it.
what could have happened to it?
Nov 17 '05 #1
4 1635
Are you sure its not just the PATH variable that has messed up? Have you tried searching your whole HDD for windows.h?
Nov 17 '05 #2

"Bonj" <a@b.com> wrote in message
news:O6******** ******@TK2MSFTN GP11.phx.gbl...
my windows.h file (and probably lots of other headers) has suddenly
DISAPPEARED. Reinstalling the SDK didn't fix it.
what could have happened to it?


are you using vc6 ? vc.net ?

did you loose windows.h in the SDK or in vc6 ?

Nov 17 '05 #3
Yep. I even reinstalled windows.
When I'd done so, I connected to the internet and immediately got one of those RPC-exploiting worms (well a few actually - a few different strains of Welchia and a couple of Blasters). I installed Norton AV and after enabling the WinXP firewall managed to get on long enough for Norton to get a new VDF and for me to log on to Symantec and download the fixers, I was able to fix the worm.
Doing chkdsk before I did this said there was errors on the drive. This was the case even after running a scheduled chkdsk /F on startup, but now after reinstalling Windows and fixing the viruses chkdsk tells me there are no errors. I then reinstalled the SDK in 'fix' mode as described in the 'repairSDK.htm' file, which said to launch setup.exe with some command line parameters which included an msi file or something. While it was doing so, Norton real-time protection detected a worm. Not a good sign you might say! I'm going to do a fresh download of the SDK, a fresh scan, restart, and then reinstall the SDK from scratch.
I then phoned Microsoft in desparation but they wanted £185 to answer a support question. If the reinstall of the newly-downloaded SDK on my rebuilt, disk-checked, virus-scanned PC still doesn't restore the windows header files, then I'm just going to have to draw the only conclusion I see possible from this woeful tale, which is that Microsoft are simply incapable of putting out free software that works, and simply use Borland instead.
Nov 17 '05 #4
I'm using SDK v1.1. See also reply to Skute.
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
2313
by: Paul Rubin | last post by:
As what must be penance for something or other, I'm needing to release a Python app for use under Windows XP. Please be gentle with me since I'm a Un*x weenie and the only thing I've had much practice with under Windows is rebooting it. My app contains three different programs (say alice.py, bob.py, and carol.py) that need to be independently launchable, and a dozen or so other .py files that get imported into those first three. What...
6
9054
by: tuuky | last post by:
I've created a Windows Service in C# and an installer project for it. I installed the service using the packaged installer project and the service was installed correctly and it runs fine. I've since made some changes to this service. I then proceded to uninstall it (Add/Remove Programs) to install the new one. However, the service still shows under Services, but the .exe is gone. I can't install the new version of the service,...
3
1563
by: Javaman59 | last post by:
I've spent the last 3 years programming VC++, and learnt that Windows programming is all about messages. Now I'm doing C#, and there isn't a windows message to be seen! Now, I don't miss those messages at all - in fact I'm very glad to see the end of them, but I am puzzled as to where they've gone. Has .Net got rid of windows messages, or are they just hidden inside the CLR, where windows windows (to use the VC++ term for the real...
3
1630
by: chicken butt | last post by:
Hi - I am trying to move some of my web apps from my development machine running XP PRO SP2 to one of our Windows 2000 server boxes. I have created a new site for each of the apps and am using Host Headers to differentiate between them all. In IIS, if I redirect to another server running Windows 2003 Server, the 2.0 applications work very well.
4
1997
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows Installer) 2. My Windows Service is upgraded to .NET 2.0 with deployment project using MSI (Windows Installer) Upgrade code is the same from the .NET 1.1 version to the .NET 2.0 version
11
1124
by: Newbie Coder | last post by:
Hello All Anyone know how to delete the Windows History using STATURL? VB.NET 2003 code only (no c++/C#/Google Links, but proper code) No I am not talking about the TypedURL list, but the contents of the History folder done the correct way with file time, list entry, interfaces etc There is an example on codeproject in C#
7
10860
by: GD | last post by:
Hi, I am trying to call a webservice from a windows service application. It works only if I launch the windows service app from VS.Net 2005 (Worked around from Main()) or from a winform test application. However, it generates a kind of security error after I install and start the service in my Window Server machine. I believe that it is related to authentication. The following is the sample code: HttpWebRequest obj =...
30
6960
by: diane | last post by:
I've got an application running with table-based security: i capture the user's windows login with fOsusername, then have them enter a password checked against their username/login in my own table. The problem is, they can't remember the passwords they've created, and I spend more time than I want to resetting. Here's what I'd LIKE to have happen: when the user opens the application (Access2k), a dialog box appears with the windows...
2
1795
by: =?Utf-8?B?S2F0cmluYTY5?= | last post by:
tried to turn on my laptop, haven't used in awhile and I now have a blank screen...It's like my windows XP Home is gone...can get into BIOS and set to boot from cd rom...but it says boot from CD press any key I do that says checkin hardware config .....and then nothing happens...I have floppy disk but floppy on my computer doesn't work...what should I do....or what can I do...Pls help ....why would my operating sys just be gone any...
4
2646
by: geoffbache | last post by:
Hi all, I've always wondered why os.kill isn't supported on Windows. I found a discussion somewhere from 2006 about this so it seems others have wanted it, but still nothing. So I have a half-baked solution involving calling "taskkill" on Windows Vista or "tskill" on Windows XP via the shell. I feel there has to be a better way. I'm also fairly confused about when I've got an ID and when I've got a handle. The subprocess module gives...
0
8476
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8914
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8598
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8670
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6223
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5695
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1809
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.