Since you are using Winforms, the easiest approach is to have a form with a single
(docked to fill the form), and send it strings that are added to the
. And no, this is not an unusual approach at all. Logging listboxes have been popular since the Win16 days.
You have tagged your question with C++/CLI, so I would suggest that you use _com_error
] to convert the hresult to a formatted error message string.