Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Programmatically determine SDK

3 views
Skip to first unread message

BobH2

unread,
Sep 30, 2009, 11:14:01 AM9/30/09
to
Is there a define that can be used in an #ifdef indicating the SDK that is
currently specified in the VC directories include path?

Thanks to anyone that can answer.
--
BobH2

Thomas Freudenreich

unread,
Oct 1, 2009, 4:36:49 AM10/1/09
to

DIRECT3D_VERSION

sample:
0x0900 = DirectX 9

Chuck Walbourn [MSFT]

unread,
Oct 1, 2009, 6:25:32 PM10/1/09
to
That is actually fairly useless. It only tells you that you have some
version of the D3D9.H header as of the Summer 2002 release, nothing more.

The DXSDVER.H header is your best bet.

--
--
-Chuck Walbourn
SDE, XNA Developer Connection

This posting is provided "AS IS" with no warranties, and confers no rights.
"Thomas Freudenreich" <freu...@yahoo.de> wrote in message
news:1sfffbx84grkp.1...@40tude.net...

BobH2

unread,
Oct 4, 2009, 1:59:01 AM10/4/09
to
Thank you Chuck.

I did a search through my sdk folders and on microsoft.com for dxsdver.h and
nothing showed up.

I did a search for *ver*.h and although a lot of files showed up, the only
one that look semi-useful was NTDDI_MAXVER in WinSDK.ver. It looks like this
started in SDK v6.1.

--
BobH2

Chuck Walbourn [MSFT]

unread,
Oct 7, 2009, 5:46:26 PM10/7/09
to
Are you using the "Windows SDK" or the "DirectX SDK"?

BobH2

unread,
Oct 8, 2009, 6:17:01 AM10/8/09
to
Chuck,

Yikes,

My screen says I am in Win32 Software Development Kit. But the topic shows
"microsoft.public.win32.programmer.directx.sdk".

I have no idea how that happened.

I am referring to the Windows SDK.

Also, I have reported this as a suggestion now in Visual Studio feedback.

Thanks again,
--
BobH2

0 new messages