visual studio building error: unresolved external symbol _IID_IWICImagingFactory (MFC static lib)

Juarrow picture Juarrow · Nov 7, 2011 · Viewed 18.6k times · Source

I wrote a porgram with a few standard dialogs in an SDI (Doc/View enabled) project.

Now that I want to send it to some friends i did set the Use of MFC Use MFC in a static library.

But when i try to build the solution i get the following error:

error LNK2001: unresolved external symbol _IID_IWICImagingFactory

My problem is, that i don´t know what exactly this interface id is, because i did not write any code for COM manually or using any image factory things or equal...

Im a bit lost atm...

May anyone tell me how to solve this and make it work with the static MFC usage?

Thanks in advance!

Answer

caesarvanou picture caesarvanou · Dec 28, 2011

There is also a .lib file:

C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\ windowscodecs.lib