Exporting a class from a DLL for multiple instantiations