fix: 文件管理对话框SetPaneText崩溃,传输故障

This commit is contained in:
yuanyuanxiang
2021-03-14 19:54:52 +08:00
parent 0a6641baec
commit 2c870f1952
6 changed files with 36 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ CFileManager::~CFileManager()
m_UploadList.clear();
}
void CFileManager::OnReceive(PBYTE lpBuffer, UINT nSize)
VOID CFileManager::OnReceive(PBYTE lpBuffer, ULONG nSize)
{
switch (lpBuffer[0])
{
@@ -442,7 +442,7 @@ UINT CFileManager::SendFileSize(LPCTSTR lpszFileName)
UINT CFileManager::SendFileData(LPBYTE lpBuffer)
{
UINT nRet;
UINT nRet = 0;
FILESIZE *pFileSize;
char *lpFileName;