ClearBox Server™ v1.2 Developer's Guide

Step 1. Creating Server Extension Co-class.

1. Open Visual C++ .NET development environment. Select File -> New -> Project... from menu. Select 'Visual C++ Projects" project type, and click "ATL Project" in the list of available templates.

Give a name to the new project. Let it be "AdvancedExtension". Click OK. When the ATL Project Wizards opens, click Finish.

2. Now we need a co-class implementing necessary interfaces. Select "Project -> Add Class...", and in ATL category select ATL Simple Object template. Then click Open.

Give a name Extension to the new class. Switch to the Options tab of the dialog and change:

  • Threading model from Apartment to Free.
  • Interface from Dual to Custom.

All server extensions should have such settings.

When the changes are done, click Finish. VC++ has generated a new class that will implement all the interfaces necessary for its work.

Go to the next step.


© 2001-2003 XPerience Technologies. www.xperiencetech.com

Created by chm2web html help conversion utility.