Compiling DirectX Media samples ?????

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
When Im attempting to compile the DirectX Media samples Im getting the same reccurring error for all of them which says:

c:dxmediaclassesbasecombase.h(249) : error C2373: InterlockedExchange : redefinition; different type modifiers
c:program filesmicrosoft visual studio 8vcplatformsdkincludewinbase.h(1588) : see declaration of InterlockedExchange
c:dxmediaclassesbasecombase.h(249) : error C2491: InterlockedExchange : definition of dllimport function not allowed
c:dxmediaclassesbasecombase.h(249) : error C3861: InterlockedExchange: identifier not found

This is obviously a conflict between the platform SDK and DXMedia but IM unaware how to prevent this from happening.

Has any one else encountered this problem and how did you solve it? If not can anyone suggest a way of avoiding conflicting files?

Thanks


View the full article
 
Back
Top