commit 2025-10-08 20:43 add ZtCCharType in ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-08 22:43:47 +09:00
parent 443ebf4fd1
commit 6974c13d16
4 changed files with 182 additions and 14 deletions

View File

@ -7399,7 +7399,7 @@ namespace ZNsMain
ZTypLength VL_ReadSize = 0 ;
ZTypCPChar VP_CopyStart =
const_cast<ZTypPChar>(ARR_SaveCStr.c_str())+VL_PrevSize ;
const_cast<ZTypPChar>(ARR_SaveCStr.data())+VL_PrevSize ;
if((VL_ReadSize = read(AH_FileDesc, VP_CopyStart, VL_LastPos))<0)
{
@ -7446,7 +7446,7 @@ namespace ZNsMain
::SetFilePointer(VH_File, AL_Offset, NULL, FILE_BEGIN);
ZTypCPChar VP_CopyStart =
const_cast<ZTypPChar>(ARR_SaveCStr.c_str())+VL_PrevSize ;
const_cast<ZTypPChar>(ARR_SaveCStr.data())+VL_PrevSize ;
if(::ReadFile(VH_File, (LPVOID)VP_CopyStart, dwRead, &dwRead2, NULL)==FALSE)
{