If I do (for example)
for (int i=0;i<22;i++)
{
var app = new Excel.Application();
}
then 22 excel processes are created.
However, if I do
for (int i=0;i<25;i++)
{
var app = new Excel.Application();
}
It creates 22 excel processes, but then most of them dissapear and only a few are left.
Is there a limit of 22 or something? Can this be increased?
Thanks!
EDIT: with following code it doesn't occur:
var apps = new List<Application>();
for (int i=0;i<25;i++)
{
apps.Add(new Application());
}