EgtInterface 1.8k4 :

- aggiornamento interfaccia di EgtApplyAllMachinings.
This commit is contained in:
Dario Sassi
2017-12-02 18:39:12 +00:00
parent 887d4cf286
commit 2cf7efe6c8
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -1429,12 +1429,12 @@ __stdcall EgtIsMachiningEmpty( void)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtApplyAllMachinings( BOOL bStopOnFirstErr, wchar_t*& wsErrList)
__stdcall EgtApplyAllMachinings( BOOL bRecalc, BOOL bStopOnFirstErr, wchar_t*& wsErrList)
{
if ( &wsErrList == nullptr)
return FALSE ;
string sErrList ;
bool bOk = ExeApplyAllMachinings( bStopOnFirstErr != FALSE, sErrList) ;
bool bOk = ExeApplyAllMachinings( bRecalc != FALSE, bStopOnFirstErr != FALSE, sErrList) ;
wsErrList = _wcsdup( stringtoW( sErrList)) ;
return ( ( bOk && wsErrList != nullptr) ? TRUE : FALSE) ;
}