The Foreign Language Interface (FLI) is an extension to LispWorks which allows you to call functions written in a foreign language from LispWorks, and to call Lisp functions from a foreign language. The FLI currently supports C (and therefore also the Win32 API for Microsoft Windows users).
The main problem in interfacing different languages is that they usually have different type systems, which makes it difficult to pass data from one to the other. The FLI solves the problem of interfacing Lisp with C. It consists of FLI types that have obvious parallels to the C types and structures, and FLI functions that allow LispWorks to define new FLI types and set their values. The FLI also contains functions for passing FLI objects to C, and functions for receiving data from C.
To interface to a C++ program from LispWorks, define C stubs which call your C++ entry points, as described in Using C++ DLLs. Use the FLI to interface to these C stubs.
LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017