2.6.1 Initialization Procedures

During application initialization, the application will need to perform additional steps necessary for OLE, such as registering new clipboard formats and calling OleRegisterClientDoc. Isolate your application initialization code to prepare a place for these additional steps. Since some of the OLE initialization steps have corresponding shutdown steps to perform when an application closes, you can isolate your cleanup code as well.