Home > Software engineering >  MFC interface package data problem, ask brother for help
MFC interface package data problem, ask brother for help

Time:10-17

In the text box line about twenty lines of data, how to take out the data according to the specified format packaging

CodePudding user response:

Text packaged?? Don't know what do you want to do?

The inside of the text box data could be obtained with GetWindowsText, other don't know what you want to do

CodePudding user response:

Is the data in the text box, text, characters, according to the specified protocol, converted to hexadecimal code, package to send, how to pack

CodePudding user response:

Base64???

CodePudding user response:

Then packed according to the specified format is what format?

Maybe so?
 
Cstrings cstrText;
GetDlgItemText (IDC_EDIT1 cstrText);
Char * pData=(https://bbs.csdn.net/topics/cstrText.GetBuffer);

PData [0]
PData [1]
.
  • Related