I am trying to build a logging window for an ATL COM object. My aim is to kick off an ATL CWorkerThread which opens a modal dialog box (compiled from a VS resource) which contai