Home | Previous Page | Next Page   Creating ActiveX Value Objects > Implementing ActiveX Value Objects >

Files to Edit

The following table lists each opaque type routine (by category and name), the source file where it is defined, and whether adding project-specific logic to that routine is required or optional.

For information on the usual behavior of the ActiveX custom methods (those defined in the OpaqueCommon.cpp and OpaqueCommon.h files), see Using ActiveX Value Objects. For information on the default behavior of the server project routines, see Editing Opaque Type Support Routines in opaque.c.

Routine Category Opaque Type Routine/ ActiveX Custom Method Source File Add Logic? (Optional/
Required)
Basic Text Input/Output FromString()

ToString()

OpaqueCommon.cpp Optional

Optional

Binary Send/Receive With Client Send()

Receive()

OpaqueServer.cpp Optional

Optional

Text File Import/Export ImportText()

ExportText()

OpaqueServer.cpp Optional

Optional

Binary File Import/Export ImportBinary()

ExportBinary()

OpaqueServer.cpp Optional

Optional

Type Compare Support Compare()

Equal()*

NotEqual()

OpaqueCommon.cpp Optional

Optional

Optional

B-Tree Indexing Support Equal()*

GreaterThan()

GreaterThanOrEqual()

LessThan()

LessThanOrEqual()

OpaqueCommon.cpp Optional

Optional

Optional

Optional

Optional

Type Mathematic Operators Plus()

Minus()

Times()

Divide()

OpaqueCommon.cpp Required

Required

Required

Required

More Mathematic Operators Positive()

Negate()

OpaqueCommon.cpp Required

Required

Type Concatenation Operator Concat() OpaqueCommon.cpp Required
Type Hash Support Hash() OpaqueServer.cpp Required
N.A. IsNull()

SetNullFlag()

OpaqueCommon.h Optional
* Only one Equal() routine generated, even if you specify all three categories that include it.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]