Register a dll via Application Compatibility method.