BCGControlBar Pro for MFC
void BCGCBProCleanUp ( )

Frees the system resources, which were allocated by the framework for the global variables.

This function frees the system resources, which were allocated by the framework for the global variables.

You should call the BCGCBProCleanUp function in ExitInstance. If you call the function on earlier stages, it may lead to unpredictable results.