I think you could take a look at it back. In C / C ++, an application “pulls out” a DLL instead of having a DLL “injected” into the application. Typically, for plugins / hooks, there is some mechanism for informing the application about the availability of the DLL (often only its presence in a particular directory), and the configuration file or some other logic is used to indicate the explicit loading of the library, extract a function or two, and call them.
For Windows programming, I suggest looking for examples of calling the LoadLibrary () API. You will probably find a tutorial or two on how to do this.
Rakis source
share