Skip to Content
0
Former Member
Jan 05, 2007 at 06:04 PM

Addon Process Still Running

24 Views

Even tought I'm doing all this :

static void Main() {

// Creating an object

SOValidater oCatchingEvents = null;

oCatchingEvents = new SOValidater();

//Starting the Application

System.Windows.Forms.Application.Run();

System.Windows.Forms.Application.Exit();

Application.ExitThread();

System.Threading.Thread.CurrentThread.Abort();

oCatchingEvents = null;

Process[] myProcesses;

myProcesses = Process.GetProcessesByName("SOValidater");

if (myProcesses.Length > 0)

{

for(int i=0;i<myProcesses.Length;i++)

myProcesses<i>.Kill();

}

myProcesses = null;

GC.Collect();

}

This is the result of trying everything possible to terminate the process

and believe me, the SOValidater.dll I'm using is all released, even COM objects are released by Marchal.ReleaseObject() so What else remains for me ?