I am designing an ActiveX control that requires that the container supports a certain interface (in this case, the IOleInPlaceSiteWindowless interface that supports windowless/"lightweight" controls). How can I cause the initialization to fail if a non-friendly container tries to load it?


Reply With Quote