Reading and writing values using address of an variable obtained using DBGhelp lib

Discussion in 'C++' started by rajeshedm, Aug 5, 2011.

  1. rajeshedm

    rajeshedm New Member

    Joined:
    Aug 5, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    We have scenario where in we are trying to read and write value to a variable using variable address.
    We have two processes a COM server(C++) and a TestObject(.exe containing C source files).In the COM server we are loading TestObject(.exe) image using Dbghelp library.and retrieve address and variable names collection .Using the address obtained from the .exe image we are trying to set(/get) value to a variable from COM Server in the TestObject(.exe).Following this approach we are unable to set/get the variable values from exe.Here the TestObject(. exe) is running independently and uninterrupted.Please suggest any possible approaches
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice