The WordBasic macro language provides one method of controlling Word through programming. WordBasic can access all of Word's functionality, and, in Windows, can even call Windows API functions directly, which provides a significant degree of power and flexibility. However, the Word API goes beyond WordBasic, providing even more flexibility and better performance.
Word API programming has several advantages over WordBasic. You can write code that is fast, efficient, and flexible. You can use pre-existing libraries of external code, or create new code using any compiler suitable for creating code modules. There are few limitations to the complexity or sophistication of WLLs that you can design and create for Word.
In Windows, a Word add-in library is a special form of a standard Windows dynamic-link library (DLL). On the Macintosh, a Word add-in library is a WDLL code resource designed to be available directly to WordBasic. You can use any language that can create a Windows DLL or Macintosh code resource, such as C, Pascal, or Assembler. However, C is the language of choice for most people.
Note
In this appendix, the term "WLL" is used to refer to a Word add-in library developed for either Windows or the Macintosh.