Home |
Previous Page | Next Page Creating ActiveX Value Objects > Implementing ActiveX Value Objects >
The contents of the generated C++ source code differ from
generated C source code (described in Programming DataBlade Module Routines in C) in the following ways:
- Comments. BladeSmith
includes comments to the developer regarding which sections must
or may be modified; for more information, see Adding Project-Specific Logic to the Source Code.
- MI_FPARAM argument. This
is not included in C++ code; it is a C language argument.
- Server connection handle. This handle
is not needed for C++ code.
- Tracing. BladeSmith does not insert tracing
logic into the generated C++ code. However, you can use the DataBlade API tracing
macros in your server code; see Tracing
and Error Handling for
instructions.
- Error handling. BladeSmith
inserts the DkErrorRaise() method into the
generated routines to which you must add project-specific logic,
naming the routine that has not been implemented and the file in
which it resides (see Adding Project-Specific Logic to the Source Code).
You can add DkErrorRaise() to other areas
of the generated code and to your project-specific logic as appropriate.
For information on the DkErrorRaise() object
method, see Internal Object Methods.
- Utility functions. BladeSmith generates
a C++ support library for each client and server project and uses
the routines and methods of the library in its generated code. For
information on this support library, see C++ Support Library.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]