Creating an MDSC in Visual C++
Creating the project
1 From the File menu in Visual C++, choose New, and then select the Project tab.
2 From the list of project types, select ATL COM AppWizard.
3 Enter the Project name and Location, and then click OK.
The ATL COM AppWizard dialog opens.
4 Select Dynamic Link Library (DLL) and click Finish.
Visual C++ now creates your MDSC project.
Creating the COM class
1 From the Insert menu, choose New Class.
The New Class dialog opens.
2 In the Class Type list, select ATL Class, then enter a Name, and click OK.
Visual C++ now creates an interface and an .rgs file with names based on the name you gave the class. For example, if you named your class CMyMetadata, the interface is called IMyMetadata and the .rgs file is called MyMetadata.rgs.
See also