Using static MFC library and implementing DllGetClassObject
#1 Members - Reputation: 280
Posted 13 June 2012 - 01:51 PM
I have implemented my own DllCanUnloadNow with a use counter but I can't implement DllGetClassObject because everything in MFC is hidden with many layers of inheritance and thin documentation.
I have access to my own control class inheriting COleControl but I can't find access to the class ID (CLSID m_clsid) or the hidden factory class implementing QueryInterface.
My open source DirectX 10/11 graphics engine. https://sites.google.com/site/dawoodoz
"My design pattern is the simplest to understand. Everyone else is just too stupid to understand it."
#2 Members - Reputation: 280
Posted 14 June 2012 - 07:30 AM
Edited by Dawoodoz, 14 June 2012 - 07:58 AM.
My open source DirectX 10/11 graphics engine. https://sites.google.com/site/dawoodoz
"My design pattern is the simplest to understand. Everyone else is just too stupid to understand it."
#3 Members - Reputation: 280
Posted 15 June 2012 - 01:31 PM
Compiling the same code again caused the error to disappear.
Edited by Dawoodoz, 15 June 2012 - 01:34 PM.
My open source DirectX 10/11 graphics engine. https://sites.google.com/site/dawoodoz
"My design pattern is the simplest to understand. Everyone else is just too stupid to understand it."






