In the example provider component, an example of the ADs namespace object class factory code is in cnamcf.cpp.