quand j'essaye de compiler un projet deja existant(exemple fournit avec le sdk directx9), j'obtiens ces erreurs:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
C:\DXSDK\Samples\C++\common\src\d3dapp.cpp(832) : error C2065: 'ULongToHandle' : undeclared identifier
 
C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(276) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
        None of the functions with this name in scope match the target type
 
C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(498) : error C2065: 'ULongToPtr' : undeclared identifier
 
C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(671) : error C2065: 'UlongToPtr' : undeclared identifier
si on pouvait m'aider!