Creating the MFC Client to Access Your ATL Object

Now its time to use the ATL object you just created. For this step, you are going to create a simple dialog in an MFC project. With your ATLAttributes project still open, click New, New Project from the File menu. Select the Visual C++ project type and click the MFC Application template on the right side. Give your project the name MFCClient. Before you close this dialog, click the Add to Solution radio button underneath the Location field. Close the dialog by clicking OK. In the MFC Application Wizard dialog that is displayed, click the Application Type option on the left and select the Dialog radio button for the Application Type setting. Leave the other settings as they are and click Finish ...

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.