I've noticed the common method of dealing with them, proposed by people on the internet:
1. Restart
2. Delete the mentioned file
3. Install dozens of CleanUpVirusesAndOtherStuff®©™ programs
4. Scan your HDD for viruses with an Anti-Virus program
5. cd to "C:/WINDOWS/system32" and watch the contents of it for a little, important stuff is in there
6. Insert "regedit" into the Run dialogue and observe the magic
7. Run "msconfig" and uncheck some of the services/startup programs
8. Defragment your hard drive (my favourite)
Honestly, neither do I know how to solve those problems, mainly because "$program has encountered an error and needs to close" means nothing to me, but I most certainly wouldn't give random advice because I think it may work.
@ ohaz: Doesn't Windows detect and replace modified/deleted core applications?