Reputation: 1149
I have a c# app that reads (with thanks to this forum) the values of a native windows app via the win32 API, I can get all the text from boxes of class Edit but there is some data presented in a SysListView32 control for which I can get the handle.
So given the handle how do I get the data within the list view?
thanks
Upvotes: 2
Views: 354
Reputation:
A far easier way would be to inject a DLL, which would then obviously be inside the aforementioned process.
Upvotes: 0
Reputation: 15281
VirtualAllocEx
WriteProcessMemory to initlize LVITEM
SendMessage(hwnd, LVM_GETITEM, WPARAM, LPARAM)
ReadProcessMemory
VirtualFreeEx
Upvotes: 2