Do I have any control over torder in which objects are destructed? Is this standard? I am asking because I am thinking about how I might handle fatal errors in an application and thought about using RAII to make some things are destroyed. But sometimes, some objects might be dependant on another objects existance to be destroyed correctly (example, a device context object would need an hwnd to exist). Is it even appropriate to make RAII self-cleanup thingies for hwnd's, dc's, rc's, etc.?