Printing error messages to the output window

H

Hamish

Hi,
I want to print a message to the Visual Studio Output
Window at run time. How can I do this?

Thanks for any help,
Hamish
 
J

Jay B. Harlow [MVP - Outlook]

Hamish,
In addition to Jochen's comments.

If you are using Managed C++, you can use the System.Diagnostics.Debug &
System.Diagnostics.Trace classes.

Which benefit from the Trace configuration in you app.config file. The
default is the Visual Studio Output Window at run time.

Hope this helps
Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top