Click here to Skip to main content
16,010,876 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
dog.in.yellow24-Oct-05 5:20
dog.in.yellow24-Oct-05 5:20 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
Igor Vigdorchik24-Oct-05 7:14
Igor Vigdorchik24-Oct-05 7:14 
AnswerRe: Help: complie error when define struct in atl7.0 Pin
User 21559727-Oct-05 20:20
User 21559727-Oct-05 20:20 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
dog.in.yellow28-Oct-05 23:23
dog.in.yellow28-Oct-05 23:23 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
User 21559729-Oct-05 4:08
User 21559729-Oct-05 4:08 
GeneralRe: Help: complie error when define struct in atl7.0 Pin
dog.in.yellow29-Oct-05 14:21
dog.in.yellow29-Oct-05 14:21 
QuestionAddressSpace of Hooked function Pin
Abhinav agrawal20-Oct-05 20:01
Abhinav agrawal20-Oct-05 20:01 
AnswerRe: AddressSpace of Hooked function Pin
Rage_bla22-Oct-05 4:22
Rage_bla22-Oct-05 4:22 
Abhinav agrawal India wrote:
while anyprocess sends any message, This function will be called from within the address space of that process itself or outside that proecess. Which process address space this function will map to?


WH_GETMESSAGE can be created as a global or a thread specific hook.

If you created it as a global hook it is mapped (AFAIK) to all of the processes in the system (well, the current desktop). Specific calls to your hook come from the address space of the process that called GetMessage or PeekMessage.


RemoteLib
uses global hook to inject any dll to the target process:
-it installs a global hook
-it then forces the hook to be balled by sending a message to the target window
-when the hook is called, the hook procedure calls LoadLibrary from the target process space and thus loads the dll too the target process space.

Also see http://codeproject.com/dll/#Hooks

H.
QuestionHiding Interface in ATL Pin
logicaldna18-Oct-05 23:32
logicaldna18-Oct-05 23:32 
AnswerRe: Hiding Interface in ATL Pin
Igor Vigdorchik19-Oct-05 13:39
Igor Vigdorchik19-Oct-05 13:39 
GeneralRe: Hiding Interface in ATL Pin
logicaldna19-Oct-05 23:13
logicaldna19-Oct-05 23:13 
GeneralRe: Hiding Interface in ATL Pin
Igor Vigdorchik20-Oct-05 3:22
Igor Vigdorchik20-Oct-05 3:22 
GeneralRe: Hiding Interface in ATL Pin
logicaldna20-Oct-05 17:35
logicaldna20-Oct-05 17:35 
QuestionAdding a second object to a ATL/COM dll Pin
almc18-Oct-05 6:15
almc18-Oct-05 6:15 
AnswerRe: Adding a second object to a ATL/COM dll Pin
ThatsAlok4-Dec-05 22:21
ThatsAlok4-Dec-05 22:21 
Questiondialogbar control Pin
tirucapricorn14-Oct-05 19:56
tirucapricorn14-Oct-05 19:56 
AnswerRe: dialogbar control Pin
wlwlxj14-Oct-05 20:57
wlwlxj14-Oct-05 20:57 
QuestionIDispatch - I NEED HELP! Pin
honae14-Oct-05 7:58
honae14-Oct-05 7:58 
AnswerRe: IDispatch - I NEED HELP! Pin
JonEngle14-Oct-05 8:26
JonEngle14-Oct-05 8:26 
Questionhow to handle message of grandchild window Pin
HeartFriend13-Oct-05 18:23
HeartFriend13-Oct-05 18:23 
AnswerRe: how to handle message of grandchild window Pin
HeartFriend13-Oct-05 19:44
HeartFriend13-Oct-05 19:44 
Questionhow to implement for sharing data in com Pin
kiluar13-Oct-05 0:14
kiluar13-Oct-05 0:14 
AnswerRe: how to implement for sharing data in com Pin
ThatsAlok13-Oct-05 20:18
ThatsAlok13-Oct-05 20:18 
GeneralRe: how to implement for sharing data in com Pin
wlwlxj14-Oct-05 21:04
wlwlxj14-Oct-05 21:04 
GeneralRe: how to implement for sharing data in com Pin
ThatsAlok14-Oct-05 23:53
ThatsAlok14-Oct-05 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.