Is there a Haskell equivalent for POSIX ' dlopenor Windows' LoadLibrary? It seems that all FFI materials work with the libraries specified at the time of the link.
dlopen
LoadLibrary
Fast hoogling calls System.Posix.DynamicLinker . You can also try the plugins package for higher-level materials.
For Windows, System.Win32.DLL exists . The result of getProcAddress can be converted to a function pointer using castPtrToFunPtr .
Source: https://habr.com/ru/post/1531960/More articles:How to remove headers that reveal system information when sending mail in php - securityAre indirect objects available in D? - objectОшибка Core Data с недопустимым предикатом: nil RHS - iosR to extract a substring from the end of the pattern to the first occurrence of the character - regexHow to access elmah url on azure sites? - asp.netShell Scripting: using grep and tr in shebang - linuxHow to manipulate forms in Angular Dart? - dartOpenshift NodeJS 404 application not found - node.jsIs there a way to crop the dictionary capacity as soon as it is known as a fixed size? - dictionaryHow to change window title and center widget in Qt? - c ++All Articles