voila mon code ( c´est un début):
- include < windows.h>
- include < d3d8.h>
LRESULT CALLBACK WindowProc ( HWND, UINT, WPARAM, LPARAM);
int WINAPI WinMain( HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow )
{
LPDIRECT3D8 objetD3D = Direct3DCreate8( D3D_SDK_VERSION ) ;
return 0;
}
pourquoi mon compilateur m´affiche:
main.obj : error LNK2001: unresolved external symbol _Direct3DCreate8@4
Debug/basic.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
2 error(s), 0 warning(s)
///////////////////////
je pense que c´est l´instruction : Direct3DCreate8( D3D_SDK_VERSION ) ; qu´il aime pas, pourtant j´ai d´autre code sources ou ca marche.
Alors où se trouve la subtilité qui échappe à mes yeux ? ??