2.6.3 Exit Procedures

Applications generally include code to clean up items such as allocations and GDI objects that were created in the application initialization code. In the same fashion that you separated initialization code, you can isolate the exit procedure to create a place for OLE-specific cleanup.