PDA

View Full Version : Windows.h


Swimmer
September 1st, 2007, 20:28
I wasn't sure where this should go, but this sounds closest.

I HAVE used a search engine to look for this.

I have a .cpp file someone gave me and I have Visual Basic installed.

I need windows.h and can not find out how to get it.

I get conflicting answers. It's in the SDK, etc.

Thanks.

Any help greatly appreciated and I have mostly positive responses but..... Should I get an inappropriate response for a 2nd or more time...killfile list.

blurcode
September 1st, 2007, 21:01
You need Visual C++

And that is a double positive response.

LLXX
September 1st, 2007, 22:29
Do you know how to use a search engine?

I found the file I assume you're looking for in 10 minutes.
Code:
WINDOWS.H 24-Apr-1998 03:00 7k

naides
September 2nd, 2007, 06:12
Did you search your own computer carefully?

I did using google desktop, and found multiple instances each associated with a language interpreter/compiler: In the Python folder, in the Perl Folder, in cygwin, in C ++ builder. I do not have visual basic, but I would be surprised if windows.h is not somewhere in there.

So one, the problem may be the include path settings of your compiler, rather that you not having the file,
and second, just downloading the small windows.h file likely won't help you if you don't have all the children .h files included within windows.h

http://en.wikipedia.org/wiki/Windows.h

Swimmer
September 2nd, 2007, 06:30
windows.h isn't on my hard drive. I think I have every other include file though. :-)

Silver
September 2nd, 2007, 06:58
Quote:
[Originally Posted by Swimmer;68281]I get conflicting answers. It's in the SDK, etc.


Not sure why this is a conflicting answer, because it IS in the Platform SDK, in the \include folder. Note that versions of Visual Studio come with versions of the SDK, so these will also include versions of Windows.h.

Basically, just download the PSDK. Easy.

naides
September 2nd, 2007, 11:39
Quote:
[Originally Posted by Swimmer;68281]
Any help greatly appreciated and I have mostly positive responses but..... Should I get an inappropriate response for a 2nd or more time...killfile list.

Swimmer what sayeth thou?

When you ask a question in a public forum, be ready to hear what you wish to hear, and you wish not.

c'est la vie

If you are threatening with depriving us of your company, please do it, in a haste!

We appreciate talent, intellect insight and input in this board, some times the challenge of a clever question. People with a sincere bend to learn, no matter how elementary their questions are, usually get effective help. Looking back at the lit your previous posts in this board, I think we will survive without you, honey. . . Bye!

LLXX
September 3rd, 2007, 02:36
Quote:
[Originally Posted by naides;68287]http://en.wikipedia.org/wiki/Windows.h
For a second I thought that even Wikipedia had a copy of the file

And the PSDK is several hundred MB. If all he's missing is a single file, and there are other ways to get said file, I don't think downloading the entire PSDK is the best way to do it...

Maximus
September 3rd, 2007, 12:37
Quote:
[Originally Posted by Swimmer;68281]
I HAVE used a search engine to look for this.


Then I strongly suggest you to learn how to use any search engine.

To have it pop up as first without 'cheating' (koders, google code search, wiki and other powertoys search engine offers) I located it 'top' in the simplest way:

windows.h file

At RETeam there is a paper about using google and search engines. While only spending time you can learn to 'forecast effectively' which keyword might give better results, you should really learn how to do it.

Much of your time in Reverse Engineering consists of locating information's -even those out of google.
I cannot really believe you could not find windows.h if you spend 2 minutes trying at least 5-10 keyword combinations and looking to the result pages.
If you really tried at least 10 combinations and it didnt pop up in the first page, then you really, really need to learn to google, before everything other.

Silver
September 3rd, 2007, 12:56
Quote:
[Originally Posted by LLXX;68312]And the PSDK is several hundred MB. If all he's missing is a single file, and there are other ways to get said file, I don't think downloading the entire PSDK is the best way to do it...


True, the PSDK is large and I forget that not everyone has fast broadband. But, that said, Microsoft.com downloads is the only place I trust for headers, includes and libs.

I had a nasty experience a while ago with coding DirectX8 stuff using the DX9 SDK. There's a couple of missing includes which, after googling, I pulled off a (apparently respectable) website - exactly as you say, better to do that than to download another 300mb of SDK. Unfortunately after wrestling with linker errors etc and questioning my own memory of DX interfaces, I found out that the headers were incomplete. The frustration wasn't worth the hour I saved not downloading the DXSDK...

LLXX
September 3rd, 2007, 17:54
Maximus, you win. My query was
Code:
windows.h + "Index of" -linux -wine
and I found it in the 12th page.

...looks like I need to www.searchlores.org more...