Using DLL - Load Time & Run Time
- LoadLibraryA-MSDN
- GetProcAddress-MSDN
- Function Pointers in C
- Difference between load-time & run-time linking
- The used dll in created here
- runtimeusemydll.cpp is using the dll on run time (when the process need that library, it load the dll on run time)
- usemydll.cpp is loading the dll on load-time (before the process even going to usemydll.exe entry point)
- In order to understand how loadtime & runtime loading effects the binary foramt of PE's & parsed by the OS consider watch this video from The Life Of Binary
- Ilay Gilman