commit 2025-10-11 17:04 edit a bit ZCppMain/ZMainHeadEx.H
This commit is contained in:
@ -1388,15 +1388,15 @@ namespace ZNsMain
|
||||
static string& GetUniqueID(string& ARR_CString)
|
||||
{
|
||||
const int CI_BuffSize=100 ;
|
||||
static int SI_Count =0 ;
|
||||
static long SI_Count =0 ;
|
||||
const char* CPC_Gap ="_" ;
|
||||
char VCA_Buff[CI_BuffSize] ;
|
||||
|
||||
::sprintf( VCA_Buff,
|
||||
"%d%s%d%s%d" ,
|
||||
"%ld%s%ld%s%ld" ,
|
||||
(long)GetNowSec(), // (long) 가 없으면 메모리 오류가 난다.
|
||||
CPC_Gap , GetTickCount() ,
|
||||
CPC_Gap , (++SI_Count)+ ::GetCurrentProcessId()
|
||||
CPC_Gap , (long)GetTickCount() ,
|
||||
CPC_Gap , (++SI_Count)+long(::GetCurrentProcessId())
|
||||
/*////*/ );
|
||||
|
||||
return ARR_CString = VCA_Buff ;
|
||||
@ -4268,7 +4268,7 @@ namespace ZNsMain
|
||||
|
||||
VB_RemoveFail=false;
|
||||
}
|
||||
while(VB_IsSearched = ::FindNextFileA(VH_File, &VO_CFileData));
|
||||
while((VB_IsSearched = ::FindNextFileA(VH_File, &VO_CFileData))==TRUE);
|
||||
|
||||
::FindClose(VH_File);
|
||||
|
||||
|
Reference in New Issue
Block a user