|
-
April 20th, 2007, 12:58 AM
#1
Items of Listview of external application
Hi All,
I m trying to store the content of a listview of an external application. It works fine when i try it on my own application, but fails on the third party application.
I have tried to so many examples, but i cant get the text of the items in the listview.
I have also tracked the LVM_GETITEM message using spy++, but it returns null value in the pszText member of LVITEM.
What could be the reason.
Thanx for any kind of help.
Regards,
shail2k4
Last edited by shail2k4; April 20th, 2007 at 01:00 AM.
-
April 20th, 2007, 01:42 AM
#2
Re: Items of Listview of external application
LVITEM is only used on current process. If you want use LVM_GETITEM message to get item information from another process, you must alloc memory from the target process.
You can use virtualallocex api to alloc memory from another process and use readprocessmemory api to read LVITEM information.
Best Api Monitor tool.
Trace the target program automatically and monitor the parameters of all API and COM interfaces.
Auto Debug for Windows 4.0
Auto Debug for .Net
http://www.autodebug.com/
-
April 20th, 2007, 02:02 AM
#3
Re: Items of Listview of external application
 Originally Posted by pengch
LVITEM is only used on current process. If you want use LVM_GETITEM message to get item information from another process, you must alloc memory from the target process.
You can use virtualallocex api to alloc memory from another process and use readprocessmemory api to read LVITEM information.
hi,
I have tried all these api's and so many examples from internet , but the result is same. Cant get the Item or item text from listview.
I there any other solution?
Regards,
shail2k4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|