help understand DLL's (process hooks)
I'm trying to read as much as i can but i'm getting confused. I understand how a DLL works within MY proccess space, but when you hook a DLL to another process, do you still use the DLL the same way? (meaning i have my program load the DLL located in another folder, and use it as i would if it was only ment for my program and in my programs folder?)
Also, when writing an ADDON to another pogram such AS mine sweeper or WORD, you can say search for a button's HWND, and use sendmessage to press the button. if all i want to do is grab information from another programs window, and i can do it with standard win32 API calls, is there any benifit to grabbing the information through subclassing the window with the use of DLL hooks?
please help.
mitch