commit 2025-09-07 00:27 add ZCppMainTest/ZtCThreadEx_002_MutexCond.cpp
This commit is contained in:
@ -222,11 +222,11 @@ namespace ZNsMain
|
||||
|
||||
inline bool ZfPutEnv(const char* APC_EnvName, const char* APC_Value)
|
||||
{
|
||||
#if __VISUAL_CPP_VER__>=200500
|
||||
#if __VISUAL_CPP_VER__>=200500
|
||||
|
||||
return ::_putenv_s(APC_EnvName, APC_Value)==0;
|
||||
|
||||
#else //__VISUAL_CPP_VER__<200500
|
||||
#else //__VISUAL_CPP_VER__<=200500
|
||||
|
||||
std::string VO_CStringEnv;
|
||||
|
||||
@ -250,9 +250,9 @@ namespace ZNsMain
|
||||
{
|
||||
// 표준 출력에 쓴다.
|
||||
|
||||
DWORD VDW_WrittenSize=0;
|
||||
DWORD VDW_WrittenSize= 0 ;
|
||||
|
||||
const bool CB_IsOK = //////////////////////////////////////////
|
||||
const bool CB_IsOK = ////////////////////////////////////////
|
||||
(
|
||||
::WriteFile
|
||||
(
|
||||
@ -263,7 +263,7 @@ namespace ZNsMain
|
||||
);
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
if(CB_IsOK==false) return -1; return VDW_WrittenSize;
|
||||
if(CB_IsOK==false) return -1; return VDW_WrittenSize;
|
||||
}/*
|
||||
inline long ZfWriteStdOut(LPCVOID APC_Buffer, DWORD ADW_BuffSize, LPOVERLAPPED AP_Overlapped=NULL)*/
|
||||
|
||||
|
Reference in New Issue
Block a user