Groups | Blog | Home
all groups > visual studio .net debugging > september 2005 >

visual studio .net debugging : Plotting debug msgs from unmanaged C++ in VS 2003?


Kvaser
9/20/2005 10:36:02 PM
OutputDebugString


[quoted text, click to view]
Thorsten
9/21/2005 12:00:00 AM
Thanks, it works fine!

[quoted text, click to view]

Thorsten
9/21/2005 12:00:00 AM
HI



I'm a C# developer and unfortunately I have to use now unmanaged C++ code.
This project cannot run with mix managed and unmanaged code. Therefore I
cannot use System::Diagnostics::Trace::WriteLine to plot same debug messages
into the Output window of Visual Studio 2003.



Is there any function I can use to print a string into this output window
from unmanaged C++? In the moment I print every think into a file, but this
solution sucks. Sorry if this might be a really easy question, but I'm a
Newbie in C++ and program in it only since 2 weeks.



Thanks for any help.



Cheers

Thorsten

AddThis Social Bookmark Button