IMPLEMENT_OLECREATE

IMPLEMENT_OLECREATE( class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8 )

#include <afxdisp.h>

Parameters

class_name

The actual name of the class (not enclosed in quotation marks).

external_name

The object name exposed to other applications (enclosed in quotation marks).

l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8

Components of the class’s CLSID.

Remarks

This macro must appear in the implementation file for any class that uses DECLARE_OLECREATE.

The external name is the identifier exposed to other applications. Client applications use the external name to request an object of this class from an automation server.

The OLE class ID is a unique 128-bit identifier for the object. It consists of one long, two WORDs, and eight BYTEs, as represented by l, w1, w2, and b1 through b8 in the syntax description. ClassWizard and AppWizard create unique OLE class IDs for you as required.

See Also   DECLARE_OLECREATE, CLSID Key.