Sign in to follow this  

my external symbols are pouting at me

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

This topic is 4862 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this