From 05b0602bd797a66064514f2b488e4b0ae624cb03 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 28 Oct 2025 15:21:59 +0100 Subject: [PATCH] EgtInterface 2.7j3 : - aggiornato prototipo di EgtSaveMachGroupToFile per permettere un nuovo parametro (identificativi di oggetti aggiuntivi). --- API_GeomDB.cpp | 8 ++++++-- EgtInterface.rc | Bin 11726 -> 11726 bytes 2 files changed, 6 insertions(+), 2 deletions(-) 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 1d3d23c4ac4b3ec77770fa9ba5c76b82e3f32d92..4df024c6c4992cd7dfe6c8aa5eb05138ba3d0276 100644 GIT binary patch delta 113 zcmX>XeJ*;#A2vqg%@4(HGEKh5na5~6`6H+9WG^L)&3#f*jGK>e8!&^VPclv3Cs+lM i-t491#khHcFjUGNr~*ls7YjlI&*XKAP&0v=TDSp^FDUH* delta 113 zcmX>XeJ*;#A2vp#%@4(HGEKh5na5}}`6H+9WG^L)&3#f*jGK>e8!&^VPclv3Cs+lM i-t491#khHcFjUGNr~*ls7YjlI&*XKAP&0v=TDSp?WhmtU