Click here to Skip to main content
15,905,593 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using the call SetWindowsHookEx to monitor key presses.
i need to access and modify the document after the printscreen key is pressed. But the word object with the callback function HookCallback is not getting recognised. i.e. i am not able to access the word object. The word object is defined globally and public.
Posted

1 solution

Try using marshall.getactiveobject function link[^]
Obtains a running instance of the specified object from the running object table (ROT).
 
Share this answer
 
Comments
asjadazeez 17-Jun-13 2:41am    
thanks. Will try this.
muneebalikiyani 17-Jun-13 5:46am    
plz don't forget to thumb up :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900