what happens if, after program termination due to error, you open the component list and uncheckt the ocx.
Then close and reopen the component list and see if the ocx is still available to be checked again.
If the component was unregistered during program temrination it will not be available anymore...