I'm trying to create an ATL ActiveX control which uses DirectX 8 but I can't get it to compile.
Using the new project wizard, I created a new ATL Project. Then I copied DirectX8 into the projects folder. In the Projects properties dialog box, I told VS to look for additional includes in the DirectX8 folder. When I try to compile I get this error every time:
Code:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ExDisp.h(1119): error C2061: syntax error : identifier 'SHANDLE_PTR'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ExDisp.h(1634): error C2061: syntax error : identifier 'SHANDLE_PTR'
Does anyone know how to do this properly?