[Mingw-users] How to build a library compatible with dlopen?

Back to archive index
Eli Zaretskii eliz****@gnu*****
Wed Dec 5 15:53:09 JST 2018


> Date: Wed, 05 Dec 2018 10:40:04 +0800
> From: Walter Zambotti <zambo****@iinet*****>
> 
> I am looking for a guide that will assist me with creating a library that is compatible with dlopen. 
> 
> I have already managed to create a shared library that links and works as expected but  dlopen refuses to
> open this. 

There's nothing special about MinGW dlopen, AFAICT: it is just a fancy
way of calling LoadLibrary.  So the question you should ask yourself
is did you put the library in one of the directories where LoadLibrary
looks for DLLs.  The Microsoft documentation of LoadLibrary describes
those directories, as well as the order in which they are searched.



More information about the MinGW-Users mailing list
Back to archive index