Home |
Previous Page | Next Page Creating ActiveX Value Objects >
After you generate code with BladeSmith, complete these
general tasks to finish your DataBlade module code:
- Add code to these source code files to enable your routines
to function as you intend:
- OpaqueCommon.cpp. Contains
the logic for the opaque type routines that are implemented both as
ActiveX custom methods and server project routines.
- OpaqueCommon.h. Contains the logic for
the IsNull() and SetNullFlag() custom
methods.
- OpaqueServer.cpp. Contains the logic for
the opaque type routines that are implemented only for the server
project.
See Implementing ActiveX Value Objects for instructions.
- Compile your source code files using the generated makefiles.
See Compiling Client and Server Projects for instructions.
To avoid merging conflicts when you regenerate your code, add
code only in areas marked by Developer: comments or after the generated code. If you do modify code
outside the designated areas, you might have two copies of the routine
after you regenerate: the one you modified and the one BladeSmith generated.
Although your changes remain, you must resolve conflicts in the
two pieces of code.
Important:
In addition to adding logic to the opaque support routines,
you can add your own functions to the C++ classes in the OpaqueCommon, OpaqueClient,
and OpaqueServer .cpp and .h files.
Do not modify any of the other generated source files.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]