diff --git a/API_GdbObjAttribs.cpp b/API_GdbObjAttribs.cpp
index d69d1cc..423ac1f 100644
--- a/API_GdbObjAttribs.cpp
+++ b/API_GdbObjAttribs.cpp
@@ -24,7 +24,7 @@ using namespace std ;
BOOL
__stdcall EgtSetLevel( int nId, int nLevel)
{
- return ( ExeSetLevel( nId, nLevel) ? TRUE : FALSE) ;
+ return ( ExeSetLevel( {nId}, nLevel) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -52,7 +52,7 @@ __stdcall EgtGetCalcLevel( int nId, int* pnLevel)
BOOL
__stdcall EgtSetMode( int nId, int nMode)
{
- return ( ExeSetMode( nId, nMode) ? TRUE : FALSE) ;
+ return ( ExeSetMode( {nId}, nMode) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -80,9 +80,7 @@ __stdcall EgtGetCalcMode( int nId, int* pnMode)
BOOL
__stdcall EgtSetStatus( int nId, int nStat)
{
- INTVECTOR vIds ;
- vIds.push_back( nId) ;
- return ( ExeSetStatus( vIds, nStat) ? TRUE : FALSE) ;
+ return ( ExeSetStatus( {nId}, nStat) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
diff --git a/EgtInterface.rc b/EgtInterface.rc
index 4df024c..00ed83f 100644
Binary files a/EgtInterface.rc and b/EgtInterface.rc differ
diff --git a/EgtInterface.vcxproj b/EgtInterface.vcxproj
index 3cc8885..76b5437 100644
--- a/EgtInterface.vcxproj
+++ b/EgtInterface.vcxproj
@@ -105,7 +105,7 @@
true
false
false
- stdcpp17
+ stdcpp20
Windows
@@ -130,7 +130,7 @@ copy $(TargetPath) \EgtProg\DllD32
false
true
false
- stdcpp17
+ stdcpp20
-Wno-tautological-undefined-compare
@@ -166,7 +166,7 @@ copy $(TargetPath) \EgtProg\DllD64
true
ProgramDatabase
false
- stdcpp17
+ stdcpp20
Windows
@@ -201,7 +201,7 @@ copy $(TargetPath) \EgtProg\Dll32
NotSet
false
None
- stdcpp17
+ stdcpp20
-Wno-tautological-undefined-compare