Results 1 to 2 of 2

Thread: Get text out of outputdebugstring

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Get text out of outputdebugstring

    Quote Originally Posted by vbbit View Post
    Is there a way to get text out of that outputdebugstring api?
    See Understanding Win32 "OutputDebugString".

    Quote Originally Posted by vbbit View Post
    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
  •  



Click Here to Expand Forum to Full Width