Using AtlAxCreateControl and unloading controls
Posted on 2001-07-23
I am using the ATL function AtlAxCreateControl to create an ActiveX control at run time, using my dialog box as the parent window.
My product requires a functionality that, I must also be able to unload this dynamicaly created ActiveX control at run time. By unloading , I mean , destroying the control window (if it had one) and freeing all the associated resources.
Any comments/suggestions is welcome ?
Thanks in advance