Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Visual Studio 2008... Can't use ANY of the DirectX sample code?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Calab - 24 Feb 2008 05:12 GMT
*sigh*

What do I need to do to get the DirectX9 sample code, found in the DX SDK,
to work with Visual Studio 2008?
Richard - 24 Feb 2008 07:07 GMT
[Please do not mail me a copy of your followup]

"Calab" <myspam@csd.ca> spake the secret code
<u5mVnPqdIHA.4712@TK2MSFTNGP04.phx.gbl> thusly:

>What do I need to do to get the DirectX9 sample code, found in the DX SDK,
>to work with Visual Studio 2008?

1) Install the Nov 20007 DirectX SDK
2) Set the include path to:
    - DirectX SDK
    - Platform SDK
    - Visual Studio 2008

You may or may not need to get the Platform SDK (now called the
Windows SDK, IIRC) because VS.NET 2008 is so new.
Signature

"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
     <http://www.xmission.com/~legalize/book/download/index.html>

       Legalize Adulthood! <http://blogs.xmission.com/legalize/>

Calab - 24 Feb 2008 09:25 GMT
> [Please do not mail me a copy of your followup]
>
[quoted text clipped - 9 lines]
> - Platform SDK
> - Visual Studio 2008

Done... but still getting errors. Now it's "CVT1100: duplicate resource" and
"LNK1123: failure during conversion to COFF"

:(

> You may or may not need to get the Platform SDK (now called the
> Windows SDK, IIRC) because VS.NET 2008 is so new.

Windows SDK v6.0a and DirectX SDK (Nov 2007) both installed.

I appreciate the help. I just wish this didn't need to be so complicated.  I
remember (and miss) the days of QBasic 4.0 compiling to machine code. I
never had nearly this much trouble coding 6809 assember on my old TRS-80.
Richard - 24 Feb 2008 20:41 GMT
[Please do not mail me a copy of your followup]

"Calab" <myspam@csd.ca> spake the secret code
<EKawj.76395$FA.4898@pd7urf2no> thusly:

>> 1) Install the Nov 20007 DirectX SDK
>> 2) Set the include path to:
[quoted text clipped - 4 lines]
>Done... but still getting errors. Now it's "CVT1100: duplicate resource" and
>"LNK1123: failure during conversion to COFF"

What is the *exact* order in which you've got the include and library
search paths?

It should be: DirectX SDK first, Windows SDK second, Visual Studio
third.
Signature

"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
     <http://www.xmission.com/~legalize/book/download/index.html>

       Legalize Adulthood! <http://blogs.xmission.com/legalize/>

Calab - 27 Feb 2008 05:44 GMT
> [Please do not mail me a copy of your followup]
>
[quoted text clipped - 16 lines]
> It should be: DirectX SDK first, Windows SDK second, Visual Studio
> third.

Tools->Options->VC++ Directories ...

Show Directories for: Library Files

$(VCInstallDir)lib
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)atlmcf\lib\i386
$(WindowsSdkDir)\lib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib
C:\Program Files\Microsoft DirectX SDK (November 2007)\Lib
C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
C:\Program Files\Microsoft SDKs\Windows\v5.0\Lib
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

Show Directories for: Include files

$(VCInstallDir)include
$(VCInstallDir)atlmfc\include
$(WindowsSdkDir)\include
$(FrameworkSDKDir)include
C:\Program Files\Microsoft DirectX SDK (November 2007)\Include
C:\Program Files\Microsoft Visual Studio 9.0\VC\Include
C:\Program Files\Microsoft SDKs\Windows\v5.0\Include
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

(And I just tried moving the C:\ paths to the top of their respective lists)

Thanks for the help, BTW!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.