[Migrated content. Thread originally posted on 15 May 2011]
We are using Windows XP SP3, Acucobol 8.1.2 and are developing an application where c# (asp, mvc3, framework 4) calls the Cobol programme.This works OK, except that the acugt.exe which is startted by the c# programme never stops.
So if we call a Cobol programme five times, the task manager shows five instances of acugt.exe
Here is the part of the programme that calls Acucobol:
object acuParameters = "-c c:\\\\ad\\\\bin\\\\sveainfo.cfg";
object __PLACEHOLDER__ = null;
object parameters = (string)parameterString;
AcuGTObjects.AcuGTClass AcugtInterface = new AcuGTObjects.AcuGTClass();
try
{
AcugtInterface.Initialize(ref acuParameters);
AcugtInterface.Call(
ref programName,
ref parameters,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__,
ref __PLACEHOLDER__);
}
catch (Exception ex)
{
return ex.Message;
}
finally
{
AcugtInterface.Shutdown();
}
Can someone give advice, please?



