I wish to implement my own DLL loader and play with it's exported functions.
Do someone have any tips or documentation about how to load a DLL exported function, get a pointer to the function and call it inside the code?
It is obvious that I'm not going to replicate a full Windows compliant DLL loader like we have in wine, but I want only to understand the concepts.
Playing with DLLs
Re: Playing with DLLs
Google is your friend here. It's been documented in lots of places. You can read Wine source as a documentation toofernandocarvalho wrote:Do someone have any tips or documentation about how to load a DLL exported function, get a pointer to the function and call it inside the code?
Look at mplayer for stripped down version of loader. If you need to do anything more then it does - use Wine.fernandocarvalho wrote:It is obvious that I'm not going to replicate a full Windows compliant DLL loader like we have in wine, but I want only to understand the concepts.