BTW: I post the whole demo project code in this link in flexdll's issue: Generate import library for exported function of the main executable file · Issue #104 · ocaml/flexdll Hope this can help others.
Hi, Alexis Wilke, thanks for the quick response. I also does not use edll method either, I think edll library is a bit complex for my project. While, there are still many applications which need host/plugins, I think those methods described in your home page still applies. Hopefully you can update your web home page to describe this, which will help other people. ocaml/flexdll: a dlopen-like API for Windows, this project supplies a similar method, and in its home page, it mentions your edll library....
Well! Thank you for letting the edll users know. Obviously, I haven't used this in ages... It's great it is getting simpler over time.
Hi, it looks like I asked a question about ten years ago(about the gcc plugin) I recently tried your The .def &.a solution As you said: This is fairly simple to do, however, it looks rather messy and cumbersome (it adds about 5 command lines). And it most certainly won't be supported any time soon by the MinGW or GNU people in a seamless fashion. But it looks like I need only two command In my test, I use the gendef command to generate the def file, and later I use the dll tool to generate the .a...