EgtInterface 3.1g4 :
- aggiunta interfaccia per funzione EgtVerifyCurrSetup.
This commit is contained in:
@@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user