I am trying to download and build the 'WIC Image Viewer usign Direct2D' from here, but when I build my solution, I am slapped with 56 errors that look like:
- Error 1 error LNK2019: unresolved external symbol __imp__CoUninitialize@0 referenced in function _wWinMain@16 WICViewerD2D.obj
- Error 2 error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function _wWinMain@16 WICViewerD2D.obj
- Error 3 error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _wWinMain@16 WICViewerD2D.obj
and so on. Surely this is something in my Visual Studio settings, because isn't this code supposed to work out of the box? I have Windows SDK v7.0 installed.