Linker Tools Error LNK1240

failed to compile IDL content

The linker spawned MIDL to compile embedded IDL but there was a problem. Check the errors specified by MIDL.