C Programmer’s Checklist

When developing eFTL applications in C, remember these steps.

The eFTL C API is available as platform-specific binary libraries. It is also available in source form, so you can compile it for other platforms.

Environment

Use the setup script in the samples directory to set environment variables.

Code

  • Include the TIBCO eFTL header file, tib/eftl.h.

Compile

Compile programs with an ANSI-compliant C compiler.

Use the compiler flags in the Makefile in the samples/c/examples directory.

Link

On UNIX platforms, use the linker flags -ltibeftl.

On Windows platforms, link the corresponding C library file, tibeftl.lib.

Run

  • On Windows platforms, the PATH variable must include the bin directories to use the DLL files for TIBCO eFTL and TIBCO FTL.
  • On UNIX platforms, the LD_LIBRARY_PATH variable must include the lib directories to use the library files for TIBCO eFTL and TIBCO FTL.
  • Ensure that the TIBCO FTL realm server is running, and that each TIBCO eFTL server process can connect to it.
  • If your application communicates over EMS channels, ensure that the TIBCO EMS server is running, and that each TIBCO eFTL server process can connect to it.
  • If your application uses FTL durables, ensure that persistence stores are configured, running, and reachable.
  • Ensure that the TIBCO eFTL server is running, and that each client process can connect to it.