• Advertisement
Sign in to follow this  

my external symbols are pouting at me

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