To build a program using the CFITSIO dll: Include the header files fitsio.h and longnam.h in your source code Link your program using the .lib file To build the test program using Microsoft Visual C++: cl testprog.c cfitsio.lib To build the test program using Borland C: bcc32 -f testprog.c cfitsio.lib