Type: Posts; User: stoneyrh
Search took 0.01 seconds.
April 28th, 2014, 10:06 AM
Thank you very much for the suggestions. My initial though on using hooking is because it is the easiest way to inject code into other process, but it is completely out of my estimation that the...
April 25th, 2014, 10:41 PM
The handle of the window is sure to be correct. Because I use the handle passed from the HOOK PROC.
And I could not even see the Window Proc value in Spy++.
It is worthy of trying...
April 25th, 2014, 10:37 PM
What I am going to do is inject a DLL into a 3rd party process automatically (actually it is developed by other BU of my company, but I don't have the source, so I need to do that in this way), and...
April 25th, 2014, 03:45 AM
Yes, I do the same thing as you said. The hook works fine against the process running in current user.
The problem is, I am requried to hook that process if it was launched in the way like...
April 25th, 2014, 02:12 AM
I am encoutering a problem on retrieving the Window Proc of a window that running in a process with another user.
For example, I have logon windows with domain\user1, and run the following command...
April 22nd, 2014, 10:01 AM
I thought it would create a new session, but as I checked in Task Manager, the newly created HOOKEE.exe process has the same session ID as that installing the HOOK. Can it say they are in same...
April 22nd, 2014, 08:00 AM
Oh, I am sorry, my bad.
The HOOKEE.exe is actually a GUI application, normally it is running only by double clicking on the icon on the desktop, with this way, no conhost.exe is involved during the...
April 22nd, 2014, 02:12 AM
The problem is my hook (DLL) does NOT get loaded at all for that process, but I am sure calling to SetWindowsHookEx success, because the HOOKLOADER.exe is always running there, and if I launch the...
April 22nd, 2014, 01:35 AM
Sure, I understand both items 1 and 2, both my hook(DLL) and HOOKEE.exe are 32bit
The problem happens in the same logon session, which means, I launch the HOOKEE.exe by double clicking the shortcut...
April 21st, 2014, 11:29 PM
As I see in the Task Manager, the HOOKEE.exe is running with the same session ID as that the process installing the HOOK.
For the station and desktop, how can I check them?
April 21st, 2014, 08:43 AM
About why exactly the same HOOKEE.exe running in same box, but when launched by double clicking the shortcut icon, it loads the global hook, but when launched by some other (unknown to me) ways, it...
April 21st, 2014, 07:39 AM
I had created a global hook by SetWindowsHookEx with WH_CALLWNDPROC. It is used to create a new toolbar button in specific window in the specific (3rd party) program (named...
December 26th, 2010, 12:27 AM
I have created a simple disk filter driver based on DDK sample, it works fine with INF installation. But what I am going to do is removing the INF file, then when the user needs it (before some file...
I am also running as administrator too, but I can only read from a dist, when writing to another disk, it also returns 'Access is denied'. I found that it requires a flag named SL_FORCE_DIRECT_WRITE...
Still waiting for response, could anybody give me a hand?
Hi, all, I got that CreateFile with a file name \\.\PhysicalDriveX can open a handle for direct accessing to appropriate disk, but as it is said in MSDN, it doesn't work for Vista. When I try to do...
July 13th, 2007, 04:58 AM
I see what goes wrong. The appropriate cpp file was missing. Those three functions were implemented there. That's the first time I encounter this kind of code, and it cost me almost four hours.
July 13th, 2007, 03:04 AM
I understand that the definition of a template class member function must be included in the template class. The keyworks 'extern template' seem strange. As said in this document , it is used to...
July 13th, 2007, 02:02 AM
I am sorry for confusing you.
The class is similar to the follwing class:
template <typename T>
July 13th, 2007, 01:29 AM
There is a template class with three of member functions without implementation. But at the end of the header file of the class, something like the following appears:
extern template void...
June 29th, 2005, 12:34 AM
I want to use the function SetVolumeLabel, but I failed with ACCESS_DENY.
What I should if I want to modify the volume label?
September 19th, 2004, 09:02 PM
OK, I found the new SDK and downloaded it.
Thanks a million.
September 16th, 2004, 09:30 PM
I want to use WH_MOUSE_LL, but the compiler can't recognize it.
Maybe I should upgrade it to VC7.0.
September 16th, 2004, 09:26 PM
Oh, thank you, JohnCz. I will study the examples carefully.
By the way, I don't know exactly what use of the first parameter-nCode-of hook procedures. MSDN says that if it is less than zero, the...
September 15th, 2004, 08:28 PM
What I want to do is to lock a computer. That is to say, to prevent the system from sending all the mouse and keyboard inputs to all applications when the hooks(mouse hook and keyboard hook) is...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!