A ClassFactory is used in windows automation and interfaces. (Your app is interfacing with a third party API -> the MediaCar API.)
My guess is that the person who developed that app just deployed the exe and not the other dlls and ocx files needed.
You have those ocx and dlls but they are not registered. (use regsvr32.exe to do this)
the programmer who wrote that app allowed unhandled exceptions to happen.
-what could the programmer do to not allow unhandled exceptions to happen?
Depends on the language you use.
catch( Exception e )
//show an error message here
//if an error occurs, exception will bwe cought here