EgtInterface 1.8c4 :
- aggiunta EgtGetAllTablesNames.
This commit is contained in:
@@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user