RemTask((struct Task *) DaProc);
However, this is very bad idea unless if the running process is in a known state. If the process has allocated some resources, those resources will not be released.
It is always better to signal the process to terminate, that way it can do the cleanup as needed.