Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Building the Module on Windows

Building the Module on Windows

To build a DLL on Windows:
  1. Start Visual C++.
  2. Click File > New.
  3. In the New dialog box, click the Projects tab and select the MFC AppWizard (DLL) option.
  4. Enter its location.
    In the BankSoft example, you enter
    c:\pmclient\tx\INF_BankSoft
    , assuming you generated files in c:\pmclient\tx.
  5. Enter the name of the project.
    It must be the same as the module name entered for the External Procedure transformation. In the BankSoft example, it is INF_BankSoft.
  6. Click OK.
    Visual C++ now steps you through a wizard that defines all the components of the project.
  7. In the wizard, click MFC Extension DLL (using shared MFC DLL).
  8. Click Finish.
    The wizard generates several files.
  9. Click Project > Add To Project > Files.
  10. Navigate up a directory level. This directory contains the external procedure files you created. Select all .cpp files.
    In the BankSoft example, add the following files:
    • fv.cpp
    • txinf_banksoft.cpp
    • version.cpp
  11. Click Project > Settings.
  12. Click the C/C++ tab, and select Preprocessor from the Category field.
  13. In the Additional Include Directories field, enter
    ..; <pmserver install dir>
    \extproc\include.
  14. Click the Link tab, and select General from the Category field.
  15. Enter
    <pmserver install dir>
    \bin\pmtx.lib in the Object/Library Modules field.
  16. Click OK.
  17. Click Build > Build INF_BankSoft.dll or press F7 to build the project.
    The compiler now creates the DLL and places it in the debug or release directory under the project directory.

0 COMMENTS

We’d like to hear from you!