diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 42750dc..992c962 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -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 //----------------------------------------------------------------------------- diff --git a/EgtInterface.rc b/EgtInterface.rc index 0976d8e..5c3b7e6 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ