Original Post
This question has been on my mind a long time, and I don't really know enough about COM or Windows to figure it out myself. Is it safe to release an interface (particularly, one that uses the instance of the app) after WinMain has been exited. For instance, if I wrapped IDirectDraw in a class and its release method was called in a global destructor. My guess has always been, no. But I'm really not sure and just a little curious. Thanks in advance.