There are three main ways in C++/C
- Automation (C++), activate from Tools menu, cannot create worksheet function in COM addin
- COM Addin (C++), for worksheet functions only
- xll; this is a C API
We have devoted a full chapter to these in the book.