diff --git a/API_GeomDB.cpp b/API_GeomDB.cpp index 18cc634..5d7f01d 100644 --- a/API_GeomDB.cpp +++ b/API_GeomDB.cpp @@ -191,7 +191,11 @@ __stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath, int nFlag) //----------------------------------------------------------------------------- BOOL -__stdcall EgtSaveMachGroupToFile( int nMGroupId, const wchar_t* wsFilePath, int nFlag) +__stdcall EgtSaveMachGroupToFile( int nMGroupId, int nNumPlusId, const int nPlusIds[], const wchar_t* wsFilePath, int nFlag) { - return ( ExeSaveMachGroupToFile( nMGroupId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; + INTVECTOR vPlusId ; + vPlusId.reserve( nNumPlusId) ; + for ( int i = 0 ; i < nNumPlusId ; ++i) + vPlusId.push_back( nPlusIds[i]) ; + return ( ExeSaveMachGroupToFile( nMGroupId, vPlusId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ; } diff --git a/EgtInterface.rc b/EgtInterface.rc index 1d3d23c..4df024c 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ