Including MDSC_i.c in the .cpp file
When Visual C++ compiles MDSC.idl, it automatically generates a file called MDSC_i.c. However, you need to include this file in the .cpp that will contain the implementation of IMetadataLoad.
1 In the File view in Visual C++, double-click the .cpp file.
2 Add the following line:
#include "MDSC_i.c"
See also