EgtInterface 1.8c4 :

- aggiunta EgtGetAllTablesNames.
This commit is contained in:
Dario Sassi
2017-03-09 10:54:02 +00:00
parent 94b78cf311
commit b9453c588b
2 changed files with 18 additions and 0 deletions
+18
View File
@@ -1475,6 +1475,24 @@ __stdcall EgtGetAllHeadsNames( wchar_t*& wsNames)
return (( wsNames == nullptr) ? FALSE : TRUE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetAllTablesNames( wchar_t*& wsNames)
{
if ( &wsNames == nullptr)
return FALSE ;
STRVECTOR vNames ;
if ( ! ExeGetAllTablesNames( vNames))
return false ;
string sNames ;
for each ( const auto& sName in vNames)
sNames += sName + "," ;
if ( ! sNames.empty())
sNames.pop_back() ;
wsNames = _wcsdup( stringtoW( sNames)) ;
return (( wsNames == nullptr) ? FALSE : TRUE) ;
}
//-----------------------------------------------------------------------------
// Machine Calc
//-----------------------------------------------------------------------------