I can’t compile juce_win32_direct2DGraphicsContext.cpp, from the latest tip. I have installed the Windows 7 SDK, set JUCE_DIRECT2D to 1 in juce_Config.h, and tried to build. The errors are numerous, and all the same. They have to do with operator& being private in ComSmartPtr:
d:\juce_tip\src\native\windows\juce_win32_direct2dgraphicscontext.cpp(37) : error C2248: 'ComSmartPtr<ComClass>::operator &' : cannot access private member declared in class 'ComSmartPtr<ComClass>'
with
[
ComClass=ID2D1Factory
]
d:\juce_tip\src\native\windows\juce_win32_nativeincludes.h(249) : see declaration of 'ComSmartPtr<ComClass>::operator &'
with
[
ComClass=ID2D1Factory
]