foamDlOpenLibs.H
Go to the documentation of this file.
1// Force dlOpen of FOAM_DLOPEN_LIBS,
2// which is a comma-separated list of quoted library names
3// (eg, "finiteVolume","fvOptions","meshTools")
4//
5// Principally for Windows applications where library loading may otherwise
6// be incomplete.
7
8#ifdef FOAM_DLOPEN_LIBS
9
10Foam::dlOpen({ FOAM_DLOPEN_LIBS }, false); // Silent on errors
11
12#endif
void * dlOpen(const fileName &libName, const bool check=true)
Open a shared library and return handle to library.
Definition: MSwindows.C:1224