Data Model > Extending the UNICOM Intelligence Data Model > Creating a Metadata Source Component (MDSC) > Creating an MDSC in Visual C++ > Including MDSC_i.c in the .cpp file
 
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
Creating an MDSC in Visual C++