winapi - Log OutputDebugString to a file (without DebugView) -
winapi - Log OutputDebugString to a file (without DebugView) -
my wpf app consumes third-party win32 dll logs messages via outputdebugstring.
i can see outputdebugstring messages in visual studio or via debugview, don't want inquire client run debugview. i'd capture messages outputdebugstring , automatically log them file, if client has problem, can inquire send me log file.
is possible? or user have start debugview, reproduce error, , send me log way?
@cody gray's suggestion "write own debug listener, , you've written inferior clone of debugview" sounds might reply question.
here's a c# implementation of basic outputdebugstring capture tool. i'd seen in googling couple of times, eyes glazed on it, assuming, "that can't perchance want, can it?" turns out, might reply question.
winapi
Comments
Post a Comment