|
-
Dec 17th, 2012, 03:17 PM
#1
Thread Starter
Frenzied Member
Get text out of outputdebugstring
Hi, I am curious whether you guys have tried to get text out of outputdebugstring api? Meaning, when you run the vb6 exe and call outputdebugstring, it actually traces out into the DebugView application. Is there a way to get text out of that outputdebugstring api?
If debugview prints out "Executing here...", and I would like my application to get that text out of that. But if there's no debugview running, is it still possible to get text out of that outputdebug string call?
-
Dec 18th, 2012, 11:16 AM
#2
Re: Get text out of outputdebugstring
 Originally Posted by vbbit
Is there a way to get text out of that outputdebugstring api?
See Understanding Win32 "OutputDebugString".
 Originally Posted by vbbit
But if there's no debugview running, is it still possible to get text out of that outputdebug string call?
From OutputDebugString function:
If the application has no debugger, the system debugger displays the string if the filter mask allows it. ... If the application has no debugger and the system debugger is not active, OutputDebugString does nothing.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|