Maizlish
asked on
How to make OutputDebugString print to the pane other than "Debug"
Hello everybody !
I am using OutputDebugString and want to know how can I redirect its output to output window other than "Debug" so it will not mix with other debug output.
for example , I want each time I call OutputDebugString - the data will appear at the "Build" or "Find in files" pane .
thanks ,
Oleg
I am using OutputDebugString and want to know how can I redirect its output to output window other than "Debug" so it will not mix with other debug output.
for example , I want each time I call OutputDebugString - the data will appear at the "Build" or "Find in files" pane .
thanks ,
Oleg
VC doesn't provide this sort of feature (This has been asked before--surprisingly).
You could write your own app to do it outside of VC++...but how much time do you have? I've found it easier to tag all my messages with a quickly identifiable string. It helps you to see your messages so that after a while the others become transparent(mentally).
Why don't you use a log file ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That doesn't seem to answer the question.
I agree that outputting to a log file is probably the best bet. The only trouble is that you need a way to display the log file easily (this would be simple in unix with the tail command - one day windoze will catch up!).
In the mean time I can give you a log file viewer app (the display updates when the log file updates) if you let me have your email address (the app is about a 300k zip file).
In the mean time I can give you a log file viewer app (the display updates when the log file updates) if you let me have your email address (the app is about a 300k zip file).