摘要:
// 去除路径最后的反斜杠void DeleteBlackslash(char* filePath){ DWORD z_dwPathLength = 0 ; z_dwPathLength = strlen(filePath); while(filePath[z_dwPathLength-1] == 阅读全文
摘要:
方式一: DWORD z_dRed = 0; char z_FilePath[MAX_PATH] = {0}; char z_newPath[MAX_PATH] = {0}; char z_tmpPath[MAX_PATH] = {0}; char *z_dir = NULL; WIN32_FIND 阅读全文
摘要:
在MFC编程中经常会需要用到选择目录和选择文件的界面,以下总结一下本人常用的这两种对话框的生成方法:选择目录对话框 //选择目录按钮void CDcPackerDlg::OnBnClickedDecgen() { char szPath[MAX_PATH]; //存放选择的目录路径 CString 阅读全文