1: Whomever created the software that you are using simply did a sloppy job. The software tried to do something that Windows knows is bad and thus shuts it down. There is nothing you can do about this other than see if there is an upgrade or patch for that particular piece of software.
2: The program or parts of the program have become corrupt. When the named program tries to launch or load a part required that is damaged it crashes. The only fix is to uninstall and reinstall the program.
3: Windows itself has become damaged. If you begin to get Illegal Operations randomly from most anything then Windows is on its way to the graveyard. All that can be done in this case is to reinstall Windows, preferably a CLEAN install, not installing it on top of itself.