Original Post
Okay, I''m not exactly complaining or anything (although I''d like to figure out how to make this stop happening), but I''ve noticed something odd. I''m just starting in game programming [hides behind a -3 Newbie Shield] and I''m trying to write a game. FYI, I know C/C++ already, and I''ve written Pong in Windows GDI. So, I''m not one of those "Come help me write a 3D game! I just got Teach Yourself C++ in 24 Hours" types.
Now that I''ve justified my existance, here''s the oddity. I''m writing an interface module for DirectDraw (for a small number of reasons) in a seperate library (which also includes an error-handling object). All of the interface pointers, surface pointers, etc. are global (to the module). I''m using DirectX 6.0 because I''m too lazy to read the DirectX 7.0 SDK.
Anyhow, in my initialization function, I have a temporary interface pointer to IDirectDraw (you know the routine, get that interface, then query for IDirectDraw4). Oddly enough, Visual C++''s Statement Completion feature only seems to work when I''m typing a call to DirectDrawCreate(), lpddTemp->QueryInterface() for IDirectDraw4, and lpddTemp->Release(). Whenever I''m using any other DirectDraw object/structure, Statement Completion simply does nothing. I''m just wondering...does this happen to anyone else or is it just me? And...how can I change it?
P h a n t a s m -- "Through dreams I influence mankind."