Ok, merci de la precision. Apres avoir copier/coller tes deux lignes de code, il y a toujours un bug qui persiste.
1>------ Début de la génération : Projet : Test_Cube01, Configuration : Debug Win32 ------
1>Édition des liens en cours...
1>LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'd3dx9dt.lib'
1>Le journal de génération a été enregistré à l'emplacement "file://c:\Documents and Settings\Hamza.CHAWKI.000\Mes documents\Programmation\cppfrance_source_38267\Test_Cube01\Debug\BuildLog.htm"
1>Test_Cube01 - 1 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré ==========
J'ai lu que cette librairie n'etait obligatoire que pour le mode debug en faisant une petite recherche. J'ai donc mis le mode release, et voila les autres bugs :
1>------ Début de la génération : Projet : Test_Cube01, Configuration : Release Win32 ------
1>Édition des liens en cours...
1>Fonctions_Utiles.obj : error LNK2019: symbole externe non résolu _D3DXCreateFontA@48 référencé dans la fonction "public: long __thiscall Gestion_Texte::InitFont(struct IDirect3DDevice9 *)" (?InitFont@Gestion_Texte@@QAEJPAUIDirect3DDevice9@@@Z)
1>Fonctions_Utiles.obj : error LNK2019: symbole externe non résolu __imp__ReleaseDC@8 référencé dans la fonction "public: long __thiscall Gestion_Texte::InitFont(struct IDirect3DDevice9 *)" (?InitFont@Gestion_Texte@@QAEJPAUIDirect3DDevice9@@@Z)
1>Fonctions_Utiles.obj : error LNK2019: symbole externe non résolu __imp__MulDiv@12 référencé dans la fonction "public: long __thiscall Gestion_Texte::InitFont(struct IDirect3DDevice9 *)" (?InitFont@Gestion_Texte@@QAEJPAUIDirect3DDevice9@@@Z)
1>Fonctions_Utiles.obj : error LNK2019: symbole externe non résolu __imp__GetDeviceCaps@8 référencé dans la fonction "public: long __thiscall Gestion_Texte::InitFont(struct IDirect3DDevice9 *)" (?InitFont@Gestion_Texte@@QAEJPAUIDirect3DDevice9@@@Z)
1>Fonctions_Utiles.obj : error LNK2019: symbole externe non résolu __imp__GetDC@4 référencé dans la fonction "public: long __thiscall Gestion_Texte::InitFont(struct IDirect3DDevice9 *)" (?InitFont@Gestion_Texte@@QAEJPAUIDirect3DDevice9@@@Z)
1>Fonctions_Utiles.obj : error LNK2019: symbole externe non résolu __imp__SetRect@20 référencé dans la fonction "public: void __thiscall Gestion_Texte::DrawTextA(int,char *,unsigned long)" (?DrawTextA@Gestion_Texte@@QAEXHPADK@Z)
1>Test_Cube01.obj : error LNK2001: symbole externe non résolu __fltused
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _D3DXMatrixMultiply@12 référencé dans la fonction "public: struct D3DXMATRIX __thiscall D3DXMATRIX::operator*(struct D3DXMATRIX const &)const " (??DD3DXMATRIX@@QBE?AU0@ABU0@@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__EndPaint@8 référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__GetClientRect@8 référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__BeginPaint@8 référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__DefWindowProcA@16 référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__PostQuitMessage@4 référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu ___security_cookie référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu @__security_check_cookie@4 référencé dans la fonction "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _D3DXLoadMeshFromXA@32 référencé dans la fonction "void __cdecl Init_Objet(void)" (?Init_Objet@@YAXXZ)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _D3DXMatrixPerspectiveFovLH@20 référencé dans la fonction "void __cdecl Init_Objet(void)" (?Init_Objet@@YAXXZ)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _Direct3DCreate9@4 référencé dans la fonction "void __cdecl Init_Objet(void)" (?Init_Objet@@YAXXZ)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _memset référencé dans la fonction "void __cdecl Init_Objet(void)" (?Init_Objet@@YAXXZ)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _D3DXMatrixRotationYawPitchRoll@16 référencé dans la fonction "void __cdecl Rotation_Cube(float)" (?Rotation_Cube@@YAXM@Z)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu _D3DXMatrixTranslation@16 référencé dans la fonction "void __cdecl Rendu_Objet(void)" (?Rendu_Objet@@YAXXZ)
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__timeGetTime@0 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__DispatchMessageA@4 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__TranslateMessage@4 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__PeekMessageA@20 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__UpdateWindow@4 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__ShowWindow@8 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__CreateWindowExA@48 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__RegisterClassExA@4 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__GetStockObject@4 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__LoadCursorA@8 référencé dans la fonction _WinMain@16
1>Test_Cube01.obj : error LNK2019: symbole externe non résolu __imp__LoadIconA@8 référencé dans la fonction _WinMain@16
1>LINK : error LNK2001: symbole externe non résolu _WinMainCRTStartup
1>Release/Test_Cube01.exe : fatal error LNK1120: 33 externes non résolus
1>Le journal de génération a été enregistré à l'emplacement "file://c:\Documents and Settings\Hamza.CHAWKI.000\Mes documents\Programmation\cppfrance_source_38267\Test_Cube01\Release\BuildLog.htm"
1>Test_Cube01 - 34 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré ==========
Il y en a encore plus qu'avant ^^".
Merci de ton aide, j'espere que tu as encore quelques idées ^^ .