Jump to content
  • Advertisement
Sign in to follow this  
cis607

Using MSSDK with C++ .NET

This topic is 5460 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I installed MSSDK ver 8 and I'm attempting to use it with C++ .NET I can't get the Win32 C++ Project to load ddraw.lib from MSSDK, the loader always uses the Windows/System32/ddraw.lib (ver 5) I made the following Project configuration changes: (a) Project Property Page – I modified Linker Input to search for ddraw.lib in \mssdk\lib(b) Added \mssdk\include\ in menu Tools | Options | Projects | VC++ Directories | Include Files (c) Added \mssdk\lib\ in menu Tools | Options | Projects | VC++ Directories | Library Files (d) Added \mssdk\bin\ in menu Tools | Options | Projects | VC++ Directories | Executable Files Yet the liner never looks for ddraw from MSSDK, it always resolves to Windows/System32/ddraw.lib Any ideas? This is driving me nuts!

Share this post


Link to post
Share on other sites
Advertisement
If I'm not completely mistaken, the MSSDK doesn't contain DirectX related libraries and headers. Just the Win32 platform API is included. You should download the DirectX SDK.

Share this post


Link to post
Share on other sites
You could try to move your added directory paths to above the standard directories in the Tools\Options\Projects\VC++ Directories list. If nothing else works make a backup copy of Windows/System32/ddraw.lib, save it somewhere else and overwrite Windows/System32/ddraw.lib with your newer library.

\Jimmy H

Share this post


Link to post
Share on other sites
Thanks for the replies and suggestions.
I have solved "the problem" and it's me!
The .NET link resolution is not clearly status'ed in the default Build and Link screens, and I had reached the wrong conclusion.

If you want to know how the links are resolved you need to turn on the linker status reports using the Project's Properties menu.

Project | Properties | Linker | Show Progress to “Display Progress”

However, when running the Build, we still get the indication that the .NET environment still looks at Windows/System32/ (for some unknown reason) but “doesn’t load any symbols” whatever that means. This is the same indication that I have used to conclude that NET was not using DXSDK, but apparently this indicator is simply a NET artifact not an indicator of how the link to ddraw is actually resolved.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!