Registering a class

I'm integrating an open source library to some of my code. To customize a class, I need to create a derived class from a base class(of the library) and then 'register' it. Though registering is just calling particulr function for this purpose, I would like to know more about registring, what are we acheiving here?
To make it more clear let us say the library has an ErrorHandler class, to customize it I need to make
class MyErrorHandler: public ErrorHandler {}

now in order to use MyErrorHandler, I need to register it
RegisterClss(MyErrorHandler);

What are we getting by registering?
Register Class is not a part of the C++ language. It will be specific to the Open Source library you are using. Since you have no listed the library, there is now way for us to answer this.

You should check the forums for the library you are using.

Note: There is a Windows Win32API function called RegisterClass. But this is used when registering classes for creating Windows/Dialogs.
Topic archived. No new replies allowed.