Jump to content
  • Advertisement
Sign in to follow this  
cdrw

my external symbols are pouting at me

This topic is 5144 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

extern D3DCAPS9 m_d3dCaps; // Caps for the device extern LPDIRECT3DDEVICE9 m_pd3dDevice; // The D3D rendering device when i try to use these two here as externals they wont link up for me and are "unresolved external symbols" visual c++

Share this post


Link to post
Share on other sites
Advertisement
they didnt post right,

theres supposed supposed to be like 4 tabs worth of space bettwen the word extern and the devices listings,

is that why?

Share this post


Link to post
Share on other sites
If you want whitespace you have to use source tags. Defining something as extern doesn't create an instance of it, it simply "imports" an existing instance, you stll have to somewhere write

D3DCAPS9 m_d3dCaps; // Caps for the device
LPDIRECT3DDEVICE9 m_pd3dDevice; // The D3D rendering device

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.

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!