4.5.2 Using C++ DLLs
You must make the exported names match the FLI definitions. To do this:
If you can alter the C++ code, wrap
around the C++ function definitions, or
Create a second DLL with C functions that wrap around each C++ function, and make those C functions accessible as described in Using C DLLs.
Note: watch out for the calling convention of the exported function, which must match the
in the FLI definitions.
LispWorks Foreign Language Interface User Guide and Reference Manual - 14 Mar 2008