Chapter 17. Interoperating with C and COM
Software integration and reuse is becoming one of the most relevant activities of software development nowadays. This chapter discusses how F# programs can interoperate with the outside world, accessing code available in the form of DLLs and COM components.
Common Language Runtime
Libraries and binary components provide a common way to reuse software; even the simplest C program is linked to the standard C runtime to benefit from core functions such as memory management and I/O. Modern programs depend on a large number of libraries that are shipped in binary form, and only some of them are written in the same language as the program. Libraries can be linked statically during compilation into the executable ...