Named shared memory for Windows interprocess communication
summary
named shared memory mainly uses several API functions provided by windows to create, open, read and destroy named shared memory. Shared memory is more suitable for scenarios with message servers and message consumers. Its advantages are high efficiency and suitable for sharing more information. Its disadvantages are th ...
Posted by taldos on Wed, 03 Nov 2021 02:00:00 -0700
IP Control for MFC (Conversion of IP Address to String)
(2) Fa 2 In VS, once the new project is completed, click on the toolbox ---"IP Address Control, you can drag out an IP-specific control
1. Get the IP address:
(1) Law I
Get the control's pointer first:
CIPAddressCtrl * pIP=(CIPAddressCtrl*)GetDlgItem(IDC_IPADDRESS);
BYTE nf1,nf2,nf3,nf4;
pIP->GetAddress(nf1,nf2,nf3,nf4);
CString s ...
Posted by MadRhino on Mon, 13 Sep 2021 09:32:13 -0700