Dynamic loading
Summary

Dynamic loading

Section Title: Summary
Table Section Text: None

Name	Standard POSIX/UNIX API	Microsoft Windows API

Header file inclusion	#include	#include

Definitions for header	dl (libdl.so, libdl.dylib, etc. depending on the OS)	kernel32.dll

Loading the library	dlopen	LoadLibrary LoadLibraryEx

Extracting contents	dlsym	GetProcAddress

Unloading the library	dlclose	FreeLibrary

Sentence(s)

Unloading the library is accomplished with FreeLibrary on Windows and with dlclose on UNIX-like operating systems.

final_sentence: Unloading the library is accomplished with FreeLibrary on Windows and with dlclose on UNIX-like operating systems.