here the simplest way to create COM objects with the virtual classes.
In ICLSFACTORY.bi I was obliged to define three operators = and two Windows interfaces: _ IUnknown and _ Iclassfactory
for the moment the originators of FreeBasic are not interested, because I could update the headers holding of account the abstract classes, not to have each time to define them, and especially when a control activex is will be created that would become harassing.
Here, I utilized FactoryInfo, another manner of implementeing only one classfactory for several coclasses.
http://www.2shared.com/file/qOhShglH/classfactory_dll.html (http://www.2shared.com/file/qOhShglH/classfactory_dll.html)