a dlopen-like API for Windows
Browse cluster: OCaml Systems and Utilities →FlexDLL is a Windows implementation of a dlopen-like API that solves the problem of DLL plugin systems, where Windows DLLs cannot normally refer to symbols defined in the main application or previously loaded DLLs. The project consists of two main components: a wrapper around the static linker (called flexlink) and a tiny C runtime library that implements a POSIX-compatible dlopen interface using Windows's native LoadLibrary API. FlexDLL works with multiple toolchains including Microsoft Visual Studio (MSVC), Cygwin, and MinGW, and the flexlink wrapper itself is written in OCaml. The project is maintained under a zlib/libpng license by INRIA (Institut National de Recherche en Informatique et en Automatique), with continued development supported by LexiFi.