Inter-process communication

xiaoxiao2021-03-06  75

The process between the process communication between the process is provided in Win32 has the following types:

Clipboard CLIPBOARD: Support in the CWND class in the CWND class in the 16-bit era. COM / DCOM: Data exchange data exchange through the agent stub mode of the COM system, but can only be transmitted during the call of the dock function, pass DCOM can pass between different hosts.

Send data. Dynamic Data Exchange (DDE): Ways often use in 16 times. FILE MAPPING: Filemmaps, new methods available in the 32-bit system can be used to share memory. Mailslots: The mail slot, the new method provided in the 32-bit system, can exchange data between different hosts, divided into server side and client, both sides can exchange data exchange, in Wi

The mail slot customer is only supported under N9X. Pipes: Pipes, divided into non-name pipe: exchange data between parent son processes; well-known pipe: can exchange data between different hosts, divided into server side and client, only supported under Win9X

Note customer. RPC: Remote procedure calls, rarely used, there are two reasons: complicated and RCPs with UNIX systems are not fully compatible. However, COM / DCOM is built on the RPC. Windows Sockets: Network Sets, can exchange data between different hosts, divided into server side and client. WM_COPYDATA: Pass the data to other processes by sending the WM_COPYDATA message and putting the data in the parameter.

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

New Post(0)