Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / VS 2008 Pro... problem

Author
Message
Veler
16
Years of Service
User Offline
Joined: 14th Jan 2008
Location: Boulogne Billancourt(92100)(France)
Posted: 9th May 2008 16:39
Hi,

I have Visual Studio 2008 Professional.
I installed the DirectX SDK (March 2008) and Dark GDK. I added Includes Library and as specified in the documentation but:
When I compile, I returned the following error:
The Header windows.h has not been found

This comes from the file DarkSDKCode.h, inside, there is the command # include <windows.h>, but VS does pa windows.h, where I can find it?

Tank

VELER SOFTWARE = http://www.velersoftware.fr.nf
OS Info XP II !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 9th May 2008 17:05
That is quite unusual, as windows.h is Windows to your application.

You have the Professional version of VisualStudio? Did you install it first, and did you compile any programs before using GDK?

It seems to me that your VS install is incorrect, or that you are not using the C++ part of it to create your project. The Professional version has all of the languages (C++/C#/J++/etc.), does it not?

Did you search your drive for the file?
Veler
16
Years of Service
User Offline
Joined: 14th Jan 2008
Location: Boulogne Billancourt(92100)(France)
Posted: 9th May 2008 17:23
I installed C + +. Net and has not been a problem. I did a search and did not find any valid windows.h (actually, he found, but that those used by VS for making application Mobile or SQL).

VELER SOFTWARE = http://www.velersoftware.fr.nf
OS Info XP II !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 9th May 2008 17:29
I have VS2003 (C++ Standard), which puts that file here:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include

The file should not be different, unless it is for WindowsCE. Where is the version you found located?
Veler
16
Years of Service
User Offline
Joined: 14th Jan 2008
Location: Boulogne Billancourt(92100)(France)
Posted: 9th May 2008 17:51
All the file in report with windows.h are in the image^^

VELER SOFTWARE = http://www.velersoftware.fr.nf
OS Info XP II !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Attachments

Login to view attachments
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 9th May 2008 18:01 Edited at: 9th May 2008 18:02
I wonder if Microsoft is trying to discourage or eliminate using the Windows libraries directly?

I think that you can run the install again...pay particular attention to the checkmarks about what options will be installed. There must be an option involving the Platform SDK, or developing Win32 applications somewhere! (It might be necessary to view the lists individually.)

Or, you could download and install the Windows Server 2003 Platform SDK, which will install that file for you, and it should also set your paths in VS2008. Its a very large download, but it is also a very nice SDK.
Veler
16
Years of Service
User Offline
Joined: 14th Jan 2008
Location: Boulogne Billancourt(92100)(France)
Posted: 9th May 2008 18:08
Microsoft is therefore worse than what I thought, lol.

can you send me the necessary files? because I have too much space on my computer and since I not use this to a sdk windows.h, it would make me really happy if I could not download everything

Thank you very much for your help

VELER SOFTWARE = http://www.velersoftware.fr.nf
OS Info XP II !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 9th May 2008 19:00 Edited at: 9th May 2008 19:03
I would, but its a violation of the EULA to do that.

The directory you found windows.h in is the correct one. All of the necessary files should be in there. You will need to set the include file path so the directory is searched.

Veler
16
Years of Service
User Offline
Joined: 14th Jan 2008
Location: Boulogne Billancourt(92100)(France)
Posted: 9th May 2008 19:05
Forgetting what I just said, I've installed on another partition of my computer, sorry.
Well, now he finds the famous windows.h, but I have a new problem for any project Dark GDK example, during the compilation, I have this error here:

Error generation dynamic 'rc.exe'.

?????

VELER SOFTWARE = http://www.velersoftware.fr.nf
OS Info XP II !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Veler
16
Years of Service
User Offline
Joined: 14th Jan 2008
Location: Boulogne Billancourt(92100)(France)
Posted: 9th May 2008 19:26
it's still me,

Okay, I have no problem, I will explain:
I tell VS seeks to move the file RC.exe (which is a Microsoft SDK and not in the Platform SDK)
I indicated to go to VS seeks kernel32.lib (which is a Microsoft SDK and not in the Platform SDK)

Finally, I told him to fetch windows.h in Microsoft SDK instead Platform SDK and it's good.

Everything works, I just uninstalled the Platform SDK mind that I was most needed and everything is in order.

Thank you very much for your help

VELER SOFTWARE = http://www.velersoftware.fr.nf
OS Info XP II !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
jinzai
18
Years of Service
User Offline
Joined: 19th Aug 2006
Location: USA
Posted: 9th May 2008 19:26 Edited at: 9th May 2008 19:29
Je suis heureux d'aider, mais vous avez fait tout le travail.

Login to post a reply

Server time is: 2024-09-29 19:23:54
Your offset time is: 2024-09-29 19:23:54