hey, I don't think sysinternals has the code for ProcessExplorer....... Thanks
Abhishek Karnik
Posts
-
Listing Thread Module Names and Base Addresses -
Listing Thread Module Names and Base AddressesHey, I had a look at the Module Function.....it gives me a list of the Modules that are being used by the process.....More specifically I need to find the start address of where a thread begins execution. So I have a list of Threads .... how do I know the baseAddress of where they begin execution. I don't know if you've used process explorer....When you right click on a process in Process Explorer and select properties, it pops up a tabbed window........Clicking on "Threads " in that window we get a listing of Threads for the process in the form of Module!function....which basically gives the "Thread Start Address" and module name. Regards :), Abhishek
-
Listing Thread Module Names and Base AddressesHey, I have a program that lists processes running on the system. For each Process I can get the Thread IDs of all the threads running in that process... Is it possible for me to use the thread ID for some process X to get that threads Module Name (like a loaded dll it uses) and/or Base address of the execution of that thread ?? Any help here would be appreciated. Thanks, Abhishek
-
Unloading third party hooked DLL from a Remote processHey, A third party spyware has hooked onto some of the processes in my system. Is there a way I can unhook the dll without crashing the process. Windows allows creation and deletion of hooks using SetWindowsHook and UnhookWindowsHookEx method. Hence a programmer can create a thread in any process by hooking onto it using one of these functions and then have that thread run....do whatever he wants and then later Unhook. In my case there is a DLL which has been loaded into a remote processes address space by a third party. I donot want that DLL there so I am trying to go into that processes address space and use FreeLibrary (Kernel32 call) to free that library and have the DLL unload. I can see the DLL unloading but for some reason the process crashes after a while. The process currently hooked is Winlogon and thus crashing it crashes my entire system....... In short, having no handle what so ever to the hooked process (being a third party hook) is there a way I can unload that DLL without crashing the remote program ? Is there a way using FreeLibrary or any other way ??? :)
-
Obtain a handle to a label in a containerhey Jose, If they are implemented directly inside ThunderRT6UserControlDC, do you think there is some way of extracting the text.....using a Gettext or something.......because I am not sure if that would work since the there seem to be subcomponents with different structures (like the drop down compared to a text box) Jose Lamas Rios wrote: Is that a VB app? Yes the application that I am targetting is a VB application...I'm sriting my code in VC.
-
Obtain a handle to a label in a containerHey David, I'm not sure ..... the ThunderRT6UserControlDC is a child of ThunderRT6PictureBoxDC which contains a number of ThunderRT6UserControlDC's. However I don't think its obscured. If it were it would have shown up in Spy++ ( is assume). regards Abhishek
-
Obtain a handle to a label in a containerHey there, I have an application which has a "ThunderRT6UserControlDC". There are various control within this container such as 1. A drop down box 2. Label box 3. Gifs 4. a List View For some reason 1 and 2 are not visible as having handles when viewed from Spy++. I need to get the handle to the Label box (2) to retrieve its text. I'm trying to access this from a different program so I have to use handles and cannot use properties withing my application. Any suggestions!! Abhishek
-
Obtain a handle to a label in a containerHey there, I have an application which has a "ThunderRT6UserControlDC". There are various control within this container such as 1. A drop down box 2. Label box 3. Gifs 4. a List View For some reason 1 and 2 are not visible as having handles when viewed from Spy++. I need to get the handle to the Label box (2) to retrieve its text. I'm trying to access this from a different program so I have to use handles and cannot use properties withing my application. Any suggestions!! Abhishek
-
Reading Text off a tool TipHey, I have a list View which displays a tool tip on a mouse click. I want to read and save that information. Are there any messages that can be sent to retrieve such information. I have tried TTM_GETTOOLINFO and TTM_GETTEXT but then dont seem to work too well. Abhishek
-
Wierd Spy++ issuesorry that diagram got screwed up the '+' forms the right side of the form user control
-
Wierd Spy++ issuehey, Here is a wierd problem I've been breaking my head over for the last couple of days........ I am writing a program in VC which reads information off a window written in VB using the windows handles which I obtain programatically (and which can be viewed by Spy++). The object that I want to read stuff from contains 4 other objects 1. A drop down 2. Label (which I want to read) 3. A Tree 4. Some gif Through Spy++ when I view this object within the VB application it shows it as "ThunderRT6UserControlDC" ( which is a VB thing ). However I cannot view 1 and 2 through Spy ++ while I can view 3 and 4....now I know that 1 and 2 are a part of the "ThunderRT6UserControlDC" cause I can hide the parent and all 1,2,3 and 4 disappear. If I can get the handle to 2 I can read in the text Someone PLZZZZZZZZZZZZZZ help me with this its killing me. To show it disgramatically --> "ThunderRT6UserControlDC" ------------------------------ + 2 + + 1 4 + + 3 + + + ------------------------------
-
Wierd Spy++ issuehey, Here is a wierd problem I've been breaking my head over for the last couple of days........ I am writing a program in VC which reads information off a window written in VB using the windows handles which I obtain programatically (and which can be viewed by Spy++). The object that I want to read stuff from contains 4 other objects 1. A drop down 2. Label (which I want to read) 3. A Tree 4. Some gif Through Spy++ when I view this object within the VB application it shows it as "ThunderRT6UserControlDC" ( which is a VB thing ). However I cannot view 1 and 2 through Spy ++ while I can view 3 and 4....now I know that 1 and 2 are a part of the "ThunderRT6UserControlDC" cause I can hide the parent and all 1,2,3 and 4 disappear. If I can get the handle to 2 I can read in the text Someone PLZZZZZZZZZZZZZZ help me with this its killing me. To show it disgramatically --> "ThunderRT6UserControlDC" ------------------------------ + 2 + + 1 4 + + 3 + + + ------------------------------
-
Making Menu Selections through ProgramI dont have the SDK but I could use Microsoft Depends to get a idea of the function being called.
-
Navigating through menu of another appilcationHey there, I have an application (which had been written in VB) which lists the following menu options "File" " View" "Help" etc. And ofcourse within each of these is a further list of options. I want to write my application which will automatically nagivate through the menu of this other application ... As an example...suppose I want to go to View->Text Size -> Normal, I can do so through my application at the click of a button. Is anyone aware of the kind of messages I could send or provide an example of any such code you may have. Regards, Abhishek
-
Making Menu Selections through Programhey, thanks for the reply however I am trying to navigate through a different programs menu using my application.
-
Making Menu Selections through ProgramHey there, I have an application which lists the following menu options "File" " View" "Help" etc. And ofcourse within each of these is a further list of options. I want to write an application which will automatically nagivate through this menu ... As an example...suppose I want to go to View->Text Size -> Normal, I can do so through my application at the click of a button. Is anyone aware of the kind of messages I could send or provide an example of any such code you may have. Regards, Abhishek
-
Making Menu Selections through ProgramHey there, I have an application which lists the following menu options "File" " View" "Help" etc. And ofcourse within each of these is a further list of options. I want to write an application which will automatically nagivate through this menu ... As an example...suppose I want to go to View->Text Size -> Normal, I can do so through my application at the click of a button. Is anyone aware of the kind of messages I could send or provide an example of any such code you may have. Regards, Abhishek
-
Grabbing a Tree displayed in a windowI have written a program which launches another application which displays a Tree. I have the handle to a window which displays a tree. using this handle I want to grab the tree. Is there a way I can do that. I now know that there is CWnd::Attach and Detach in VC++ . Is there a way to call this from C#. Is there anyother way to obtain information about this tree using the handle Abhishek
-
Grabbing a Tree off a WindowI have written a program which launches another application which displays a Tree. Thru my application, I obtain a handle to the window which displays the tree. using this handle I want to grab the tree. Is there a way I can do that. The program I am writing is in C# but I thought that some help from the VC++ section would do. I now know that there is CWnd::Attach and Detach in VC++ . Is there a way to call this from C#. Abhishek
-
TreeView /Spy++/ HandleHey, Thanx ..lemme give it a shot there. Regards, Abhishek