By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,655 Members | 964 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,655 IT Pros & Developers. It's quick & easy.

private member prob

P: n/a
simple problem, sorry. I've got a class:

class CDirect3DEngine
ID3DXMesh* Mesh;
CLoadOBJFile LoadOBJFile;
LPDIRECT3D9 g_pD3D; //Direct3D object
LPDIRECT3DDEVICE9 g_pd3dDevice; //Direct3D device
LPDIRECT3DVERTEXBUFFER9 g_pvb; //Vertex Buffer
LPDIRECT3DTEXTURE9 g_pTexture; //Texture

in the function InitD3D, it says g_pD3D is an undeclared identifier. Any
ideas why?

Also, another question. What would happen if i made a class but did not
include the constructor and destructor declarations? I'm guessing they'd
never get called, but what specifically would this cause?

Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
ahhh got the solution. sorry guys, just a dodgy typo. not used to the whole
case-critical code idea. ;)
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.