EgtInterface 3.1g4 :

- aggiunta interfaccia per funzione EgtVerifyCurrSetup.
This commit is contained in:
Dario Sassi
2026-07-23 20:17:28 +02:00
parent 3e332962b3
commit 3a12f5943a
2 changed files with 16 additions and 0 deletions
+16
View File
@@ -1096,6 +1096,22 @@ __stdcall EgtEraseCurrSetup( void)
return (ExeEraseCurrSetup() ? TRUE : FALSE ) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtVerifyCurrSetup( wchar_t*& wsErrors)
{
STRVECTOR vsErrors ;
if ( ExeVerifyCurrSetup( vsErrors))
return TRUE ;
string sErrors ;
for ( const auto& sErr : vsErrors)
sErrors += sErr + "\n" ;
if ( ! sErrors.empty())
sErrors.pop_back() ;
wsErrors = _wcsdup( stringtoW( sErrors)) ;
return (( wsErrors == nullptr) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Machinings DataBase
//-----------------------------------------------------------------------------