VisualAge(R) Help


Calling DLL functions

You use the parts within the External Functions category to access or call functions written in either C or COBOL. The C or COBOL features must be loaded into VisualAge before you can use these parts.

In addition to providing the steps for calling DLL functions, the following information is also available:

Steps for calling DLL functions

  1. From the External Functions category
    extcat
    , add either a C External Function part
    extc
    or a COBOL External Function part
    extcobol
    , depending upon whether the DLL was written in C or COBOL.

    If you choose the C External Function part, you must have access to a header (.H) file defining the data types used by the function. If you choose the COBOL External Function part, you must have access to a copy library file defining the record formats used by the function.

  2. Double-click on the part to open its Settings window and use the DLL tab to identify the specifications for the DLL that contains the external function.
  3. Build the parameter list for the external function by doing one of the following:
  4. Select OK on the Settings window.
  5. Connect to the C or COBOL external function you want to call.


[ Top of Page | Previous Page | Next Page | Table of Contents ]