Of course, it's possible but templates per se do not bear a relation to your problem. You want polymorphism: the most powerful concept of OOP implemented in C++. There are lots of articles and tutorials on this topic (and there are lots of DaniWeb solved threads).
For example, look at http://www.cplusplus.com/doc/tutorial/polymorphism.html
and/or http://www.softlookup.com/tutorial/c++/ch13.asp
In other words, you need an array of pointers to MyBaseClass, not void* pointers!
Frederick2 commented: thanks! +1
Salem commented: Yes, e-017 is pretty close to 0 +23
Freaky_Chris commented: Thanks for pointing this out +1
Foe89 commented: A little uptight but gave good hints without giving away the answer +1
ArkM 1,090 Postaholic
ArkM 1,090 Postaholic
mrboolf commented: thanks again: fast, precise and helpful +1
ArkM 1,090 Postaholic