Creating the COM Object

The COM object was created using the Microsoft Visual Studio 2005 wizard, accessed by selecting Project > Add Class. In the left pane, choose ATL. In the right pane, select ATL Simple Object and click Add. The following details were entered to create the new ATL Simple Object class: