![]() ![]() ![]() Str.Format("%d.%d.%d.%d",nf1,nf2,nf3,nf4) Įg://Get and convert IP addresses from IPAddressCtrl to CString unsigned char *pIP Str.Format("%d.%d.%d.%d",nf1,nf2,nf3,nf4) //Here nf gets the IP valueīYTE nf1=HIBYTE(hiWord) //If not, your final output IP is reverse Get the control's pointer first: CIPAddressCtrl * pIP=(CIPAddressCtrl*)GetDlgItem(IDC_IPADDRESS) (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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |