I am building an activex dll with Qt. I subclass QAxFactory to create the exported class object and use singleton pattern.
QAxFactory
//MyFactory is subclas