For information about using the C language to create a dynamic-link library, see Chapter 14, “C and Assembly Language.”
For information about managing memory in a dynamic-link library, see Chapter 16, “More Memory Management.”