Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-01 01:25:43


Reid Sweatman wrote:
>> -----Original Message-----
>> From: boost-bounces_at_[hidden]
>> [mailto:boost-bounces_at_[hidden]] On Behalf Of Jonathan Turkanis

>> Okay Brian,
>>
>> The following apparently works, but when OutputDebugString is
>> called I don't see any output. I'm not sure if the previous
>> version worked or not; I've run out of time for now.

> I didn't see most of this thread, and may be totally off-base here,
> but you need to use a tool that can intercept the output from
> OutputDebugString(),
> as that function assumes there's a debugger attached to its process;
> if there's no attached debugger, it attempts to use the Windows system
> debugger, which must be both installed and active. However, I like
> SysInternals' DebugView, both because it's well-written and easy to
> use, and because it's free. Very lightweight alternative to invoking
> a full debugger when that would be overkill. It can do kernel-mode
> debugging, too, which is a major plus, if you need that; got a copy
> running on my other machine right now. www.sysinternals.com. And if
> this is not to the point, or you already know all this, bear in mind
> that I only had this post available, and skimmed it pretty cursorily,
> and please just disregard my post.

Thanks for the info.

The main point of the thread was to show how to write a sink with a built-in
line-ending filter, so the user doesn't always have to add one explicitly.

Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk