From 914b9ef72457d0bc83950508e129a1221566006b Mon Sep 17 00:00:00 2001 From: angelo Date: Mon, 24 Jun 1996 16:53:00 +0000 Subject: [PATCH] Modifiche per recuperare un poco di stack dalla liquidazione e stampa registri. git-svn-id: svn://10.65.10.50/trunk@3081 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4300.cpp | 5 +++-- cg/cg4400.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cg/cg4300.cpp b/cg/cg4300.cpp index 987df97db..116784992 100755 --- a/cg/cg4300.cpp +++ b/cg/cg4300.cpp @@ -747,7 +747,8 @@ int cg4300(int argc, char* argv[]) } } - TLiquidazione_app main_app(menu); - main_app.run(argc, argv, title); + TLiquidazione_app* main_app = new TLiquidazione_app(menu); + main_app->run(argc, argv, title); + delete main_app; return TRUE; } diff --git a/cg/cg4400.cpp b/cg/cg4400.cpp index ba886455e..94db3b6a5 100755 --- a/cg/cg4400.cpp +++ b/cg/cg4400.cpp @@ -4072,8 +4072,9 @@ void CG4400_application::stampa_pims(TPrintrow& riga, TRiga_array& vect, int cg4400 (int argc, char * argv[]) { - CG4400_application a; - a.run(argc, argv, "Stampa registri IVA"); + CG4400_application* a = new CG4400_application; + a->run(argc, argv, "Stampa registri IVA"); + delete a; return 0; }