Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

MajorShredd

VC++.NET error

This topic is 5748 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''m using DirectX 8 with Visual C++ .NET. Nothing seems to be wrong except with a call to QueryInterface(). When I compile my code, I get a linker error that says it cannot find the IID_IDirectDraw7 interface ID. I know that it is typed correctly and I''m pretty sure that the DX libraries are being linked. I believe the linker error is LNK2001, and it''s followed by another error that tells me the number of "unresolved externals". If anyone has any insight on this, please share. Many thanks in advance, ~ MajorShredd ~

Share this post


Link to post
Share on other sites
Advertisement
Put
#pragma comment(lib, "ddraw.lib")

at the top of the file

you *might* need:

#pragma comment(lib, "d3d8.lib")
#pragma comment(lib, "d3dx8.lib")

also

[edited by - Mulligan on October 19, 2002 4:12:20 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!