Guidosoft
March 22nd, 2006, 11:47 AM
I have some questions:
1. When a DLL is loaded, does is the reason PROCESS_ATTACH or THREAD_ATTACH?
2. When a process uses SetWindowsHookEx with a dll how does it get the function pointer to pass to SetWindowHookEx, GetProcAddress? If it does how does it know the new adress when the DLL is remapped?
3. When I hook a dll, and when it maps, does it free the DLL from the current process?
4. Could someone provide an example here of a DLL Injection via Windows Hooks? One that I need not download.
1. When a DLL is loaded, does is the reason PROCESS_ATTACH or THREAD_ATTACH?
2. When a process uses SetWindowsHookEx with a dll how does it get the function pointer to pass to SetWindowHookEx, GetProcAddress? If it does how does it know the new adress when the DLL is remapped?
3. When I hook a dll, and when it maps, does it free the DLL from the current process?
4. Could someone provide an example here of a DLL Injection via Windows Hooks? One that I need not download.