演示了 Ocx定义的函数形参传递PBYTE的流 传的是PCHAR, 在Ocx里面强转成PBYTE,用形参的长度来读取PBYTE short CMyOcxCtrl::fnTest2(LPCTSTR pPara1, long pLen1) ; void CTestOcxDlg::OnButton1() { // TODO: Add your control notification handler code here int nBufLen = 0x100; PBYTE pBuf = new BY
void CPackDlg::OnBtnPack() { // TODO: Add your control notification handler code here CFileDialog savedlg(FALSE,NULL,NULL,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,"(类型:*.free)|*.free||"); if (IDOK != savedlg.DoModal()) return; int nTimeBegin = time(NU