Okay, my problem is that I get the error "Main.obj : error LNK2001: unresolved external symbol _Direct3DCreate8@4" when I attempt to link my project. I assume this means it cannot find the Direct3DCreate8 function. Yes, I have linked the included files. Here is my code.
Everything used to work fine, but for some reason VC++ 6 is hating DX8. Any ideas?
LPDIRECT3D8 g_pD3D = NULL;
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nShowCmd)
Window wiMain(hWnd, hInst);
if (NULL = (g_pD3D = Direct3DCreate8(D3D_SDK_VERSION)))