Introduction to COM – Step 12 of 12

12. On the main menu, do a Build | Build Solution and watch the Output window to verify that your classic COM object builds correctly. You should also go to Windows Explorer and verify that file MyMathLib.dll has been created. When you use Visual Studio to build a COM component, the component is automatically registered on your machine and is ready to use. You can verify this by searching your system registry for the COM component’s ProgID, which is MyMathLib.MyFuncs in this case. If you intend to use your COM component on a different machine, after you copy the DLL, you must register the component using the regsvr32.exe utility program. In my next series of blog entries, I will show you 5 different ways to call the MyFuncs component.

Back to Start: Step 0 of 12

This entry was posted in Software Test Automation. Bookmark the permalink.