mfc中如何利用GetDlgItemInt将整型数组写入编辑框中
intdata;data=GetDlgItemInt(IDC_EDIT_SEND,NULL,TRUE);LONGlen=512;PUCHAROutBuffer=newUC...
int data;
data=GetDlgItemInt(IDC_EDIT_SEND,NULL,TRUE);
LONG len=512;
PUCHAR OutBuffer=new UCHAR[len];ZeroMemory(OutBuffer, len);
*OutBuffer=data;
OVERLAPPED outOvLap;
outOvLap.hEvent = CreateEvent(NULL, false, false, "CYUSB_OUT");
UCHAR *outContext = OutEndpt->BeginDataXfer(OutBuffer,len,&outOvLap);
OutEndpt->WaitForXfer(&outOvLap,1000);
if(OutEndpt->FinishDataXfer(OutBuffer, len, &outOvLap,outContext));
else AfxMessageBox("发送失败!");
CloseHandle(outOvLap.hEvent);
delete [] OutBuffer;
哪位大神能指导一下如何将输入的一个整数变成整型数组 展开
data=GetDlgItemInt(IDC_EDIT_SEND,NULL,TRUE);
LONG len=512;
PUCHAR OutBuffer=new UCHAR[len];ZeroMemory(OutBuffer, len);
*OutBuffer=data;
OVERLAPPED outOvLap;
outOvLap.hEvent = CreateEvent(NULL, false, false, "CYUSB_OUT");
UCHAR *outContext = OutEndpt->BeginDataXfer(OutBuffer,len,&outOvLap);
OutEndpt->WaitForXfer(&outOvLap,1000);
if(OutEndpt->FinishDataXfer(OutBuffer, len, &outOvLap,outContext));
else AfxMessageBox("发送失败!");
CloseHandle(outOvLap.hEvent);
delete [] OutBuffer;
哪位大神能指导一下如何将输入的一个整数变成整型数组 展开
1个回答
2015-08-01
展开全部
Calculate the number of lines per page.
PrintPreviewDialog pPDlg;
build_os='darwin11.4.0d1'
build_vendor='apple'Calculate the number of lines per page.
PrintPreviewDialog pPDlg;
build_os='darwin11.4.0d1'
build_vendor='apple'
PrintPreviewDialog pPDlg;
build_os='darwin11.4.0d1'
build_vendor='apple'Calculate the number of lines per page.
PrintPreviewDialog pPDlg;
build_os='darwin11.4.0d1'
build_vendor='apple'
追问
这是什么意思看不懂呀
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询