Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Abhishek Karnik

@Abhishek Karnik
About
Posts
22
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Listing Thread Module Names and Base Addresses
    A Abhishek Karnik

    hey, I don't think sysinternals has the code for ProcessExplorer....... Thanks

    C / C++ / MFC help question

  • Listing Thread Module Names and Base Addresses
    A Abhishek Karnik

    Hey, 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

    C / C++ / MFC help question

  • Listing Thread Module Names and Base Addresses
    A Abhishek Karnik

    Hey, 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

    C / C++ / MFC help question

  • Unloading third party hooked DLL from a Remote process
    A Abhishek Karnik

    Hey, 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 ??? :)

    C / C++ / MFC question

  • Obtain a handle to a label in a container
    A Abhishek Karnik

    hey 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.

    C / C++ / MFC docker

  • Obtain a handle to a label in a container
    A Abhishek Karnik

    Hey 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

    C / C++ / MFC docker

  • Obtain a handle to a label in a container
    A Abhishek Karnik

    Hey 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

    Visual Basic docker

  • Obtain a handle to a label in a container
    A Abhishek Karnik

    Hey 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

    C / C++ / MFC docker

  • Reading Text off a tool Tip
    A Abhishek Karnik

    Hey, 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

    C / C++ / MFC

  • Wierd Spy++ issue
    A Abhishek Karnik

    sorry that diagram got screwed up the '+' forms the right side of the form user control

    Visual Basic help data-structures

  • Wierd Spy++ issue
    A Abhishek Karnik

    hey, 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 + + + ------------------------------

    C / C++ / MFC help data-structures

  • Wierd Spy++ issue
    A Abhishek Karnik

    hey, 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 + + + ------------------------------

    Visual Basic help data-structures

  • Making Menu Selections through Program
    A Abhishek Karnik

    I dont have the SDK but I could use Microsoft Depends to get a idea of the function being called.

    C# help tutorial

  • Navigating through menu of another appilcation
    A Abhishek Karnik

    Hey 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

    Visual Basic help tutorial

  • Making Menu Selections through Program
    A Abhishek Karnik

    hey, thanks for the reply however I am trying to navigate through a different programs menu using my application.

    C# help tutorial

  • Making Menu Selections through Program
    A Abhishek Karnik

    Hey 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

    C / C++ / MFC help tutorial

  • Making Menu Selections through Program
    A Abhishek Karnik

    Hey 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

    C# help tutorial

  • Grabbing a Tree displayed in a window
    A Abhishek Karnik

    I 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

    C# csharp c++ data-structures

  • Grabbing a Tree off a Window
    A Abhishek Karnik

    I 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

    C / C++ / MFC csharp c++ data-structures help

  • TreeView /Spy++/ Handle
    A Abhishek Karnik

    Hey, Thanx ..lemme give it a shot there. Regards, Abhishek

    C# data-structures tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups