Error C2146: syntax error: missing ';' before identifier PVOID64
VS 2005 error with Dshow baseclasses.
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(222) : error
C2146: syntax error : missing ';' before identifier 'PVOID64'
Solution:
--------------
The DirectX Include directory contains an early version of BaseTsd.h which does not
include the definition for POINTER_64. You should instead use the version of BaseTsd.h in
the Platform SDK, either the one that ships with Visual Studio 2005 (C:\Program
Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\BaseTsd.h) or in an updated
Microsoft SDK installation. In order to get the compiler to use the right file, just
remove BaseTsd.h from the DirectX Include directory.
No comments:
Post a Comment