So, i see how short the code used in directx to create a simple window was and decide to run it. I have everything included, lib.. and... this is what i get:
This is the sample i got from the directX SDK, and i run it in Visual C++ 2005. Anyone has any idea?Code:CreateDevice.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "long __cdecl InitD3D(struct HWND__ *)" (?InitD3D@@YAJPAUHWND__@@@Z) Debug/CreateDevice.exe : fatal error LNK1120: 1 unresolved externals