C # Cross-process reading data from a ListView control

Source: Internet
Author: User

Http://www.cnblogs.com/Charltsing/p/slv32.html

Welcome to Exchange: QQ564955427

Reading the data from the standard 32-bit ListView control, there is already a lot of code on the Web. I did a test today. Read the data in the Tcpeye software.

See procedure annex for details. Download (This program can modify the main form class name and sub-form class name, and crawl other software data.) Of course, the form hierarchy must be 2 layers and cannot have multiple sub-forms of the same name, because this is just a sample program)

***************************************************************

If the program is adaptive to 32-bit and 64-bit systems, the code needs to be adjusted because the data format looks inconsistent

Here is a C + + definition, online search, leave a backup

typedef struct {
UINT Mask;
int IItem;
int ISubItem;
UINT State;
UINT Statemask;

int placeholder1;
LPTSTR PszText;
int placeholder11;

int Cchtextmax;
int iImage;

LPARAM LPARAM;
int placeholder2;

#if (_win32_ie >= 0x0300)
int iindent;
#endif

#if (_win32_winnt >= 0x0501)
int igroupid;

UINT CColumns;
int Placeholder3;

UINT Pucolumns;
int placeholder4;
#endif

#if (_win32_winnt >= 0x0600)
int picolfmt;
int placeholder5;

int igroup;
int placeholder6;
#endif
} LVITEM64, *lplvitem64;

C # Cross-process reading data from a ListView control

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.