some time back i faced question like this.
we ca use factory design using factory desing implementation. we can do the same using the shared laibrary, like we will have a static function in the shared laibrary which will be returning pointer to base class object. what is the difference between these two ?
i hope u people got my question.