EDOBE XDOM PMML Manual de usuario Pagina 37

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 36
37
Now that we have the C++ source and header files, we need to
compile the code to create the DLL.
Compilation
The programming examples directory contains a Visual C++ 6.0
project cnkcopy.dsp that is configured to build the cnkcopy.dll.
The cnkcopy.dsp project was created as follows:
1. Use File:New to generate an empty Win32 Dynamic-Link
Library project .
2. Add CNKProcCppSecondCopy.cpp and
CNKProcCppSecondCopy.h to the project.
3. For both Debug and Release configurations, add
..\..\..\include\cnkbase to the Additional include
directories. This is specified in the General Settings
dialog on the C/C++ tab in the Preprocessor category.
4. For both Debug and Release configurations, add cnkbase.lib
to the Object/library modules. This is specified in the
General Settings dialog on the Link tab in the General
category.
5. For the Debug configuration, add ..\..\..\lib\cnkbase\Debug
to the Additional library path. This is specified in the
General Settings dialog on the Link tab in the Input
category. For the Release configuration, specify the settings in
the Release subdirectory.
The relative file paths (such as ..\..\..\include\cnkbase) work when
the cnkcopy.dsp project is located in the programming examples
directory. If it were moved somewhere else, these paths would need
to be changed to reference the Spotfire Miner directory.
To try this example, build the Release version of this DLL and copy it
to the file extension.dll in the extension directory
XML Description The XML description for this node differs from the previous version
only in the engine class name and label text.
<ActivityNode
engineClass="SecondCopyEngineNode"
guiClass="com.insightful.miner.ActivityNodeModel"
numInputs="2"
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 97 98

Comentarios a estos manuales

Sin comentarios