Compiler Error C2772

#import referenced a type from a missing type library; '__missing_type__' used as a place holder

While the compiler was processing the type library named by the #import directive, it encountered a referenced type defined in a secondary type library. In addition, this secondary type library could not be found, and the compiler could not send this typename to the type library headers. A dummy typename, "__missing_type__", was sent to the output instead. This will trigger additional errors as the type library headers are compiled.

This error occurs when the secondary type library is not properly registered or missing. When the compiler detects this error, it cannot determine the name of the missing secondary type library. Search for the string "__missing_type__" in the type library headers. This may help determine the name of the secondary type library.