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
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.
Re: Items of Listview of external application
Quote:
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