To generate only the source files for objects defined in your project, click the Source node or one of its subordinate nodes in the Generate DataBlade dialog box (see Figure 5); then click Generate Source. The following table lists the source code file generation options.
Node | Code Generated |
---|---|
Source | All source code in the coding languages you use for your DataBlade module objects |
Client | Client code (ActiveX or Java) |
Server | Server code in the coding languages you specified when you create objects in BladeSmith |
Individual language:
ActiveX, C++, C, Java, or SPL |
Source code only for the selected language |
The Source node has these properties:
The property associated with the C node under the Server node is MMX. The MMX default value is False. You can choose whether to allow Intel MMX media enhancement technology in your DataBlade module. To generate the Gen_IsMMXMachine function to check for an Intel MMX processor, specify True. See The Gen_IsMMXMachine() Utility Function for more information.
BladeSmith writes a header file, source files, and makefiles for Windows and UNIX platforms. It also generates other necessary files, depending on the coding language. For information on the source files BladeSmith generates, see Source Files Generated by BladeSmith and Appendix A. Source Files Generated for DataBlade Modules.
After you generate source files, edit the source files to add your code to the routine declarations BladeSmith generated. For a description of the contents of the generated files and how to modify and compile the generated code, see Programming DataBlade Module Routines in C, Creating ActiveX Value Objects, or Programming DataBlade Modules in Java.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]