Is there a way I can Add Unit References (USEUNIT) in different units, programatically? I am using AddUnit Method of IntegrationObject to add a unit in my project.

If someone could suggest what is the best alternative of QTP's LoadFunctionLibrary in TestComplete? My end goal is to achieve that.