How to send a string across an process? (Collection)

xiaoxiao2021-03-06  30

How to send a string across an process?

Problem Description:

How to send a string across an process?

solution:

reference:

http://blog.9cbs.net/wu_07/archive/2004/11/26/194814.aspx

http://community.9cbs.net/expert/faq/faq_index.asp?id=205761

personal:

There are two ways:

First, send WM_SETTEXT messages to the target object

reference:

http://www.ttian.net/Article/show.php?id=132

http://community.9cbs.net/expert/faq/faq_index.asp?id=204580

http://www.vchelp.net/itbookreview/view_paper.asp?paper_id=1198

http://dev.9cbs.net/Article/58/58647.shtm

http://dev.19xz.com/soft/60230.htm

The second is to copy the content to be sent to the clipboard, and send a WM_PASTE message to the target object.

http://www.blogcup.com/read_yang119345_5312.html

Http://www.zdnet.com.cn/developer/code/story/0,2000081534,39156949,00.htm

Both methods must first enumerate the handle of the target object by FindWindowEx, first enumerating the handle of the target object, and the following operation is simple.

转载请注明原文地址:https://www.9cbs.com/read-65008.html

New Post(0)