EgtExecutor 2.2i4 :

- aggiunta funzione ExeAdvancedImport (per import IGES, STEP, ACIS, PARASOLID, JT e VRML)
- piccole migliorie.
This commit is contained in:
Dario Sassi
2020-09-22 07:50:03 +00:00
parent 02470abc0c
commit 3f724959a8
6 changed files with 133 additions and 4 deletions
+5 -3
View File
@@ -840,10 +840,12 @@ LuaWinExec( lua_State* L)
// mando in esecuzione la linea di comando
STARTUPINFO si ;
PROCESS_INFORMATION pi ;
ZeroMemory( &si, sizeof(si)) ;
si.cb = sizeof(si) ;
ZeroMemory( &pi, sizeof(pi)) ;
ZeroMemory( &si, sizeof( si)) ;
si.cb = sizeof( si) ;
ZeroMemory( &pi, sizeof( pi)) ;
bool bOk = ( CreateProcess( NULL, stringtoW( sCmdLine), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi) != FALSE) ;
CloseHandle( pi.hProcess) ;
CloseHandle( pi.hThread) ;
// restituisco il risultato
LuaSetParam( L, bOk) ;
return 1 ;