The generated code

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:
Table 1. Differences between generate C++ and C source code
Difference area Description
Comments BladeSmith includes comments to the developer regarding which sections must or might be modified; for more information, see Add 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 is (see Add 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 about 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 about this support library, see C++ support library.