Sign in to follow this  
cdrw

my external symbols are pouting at me

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
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

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