VB6 DBGView

I've been using lots of System.Diagnostics.Debug.Writeline in my Biztalk orchestrations.  Makes it easy to find out what's going on during the process.

I also have to maintain some VB6 code.  Using the debug API calls I can create similar debugging statements to the one's in .NET.

Here's some sample code

private Declare Sub OutputDebugString Lib "kernel32" _
  Alias "OutputDebugStringA" _
  (byval lpOutputString as string)
 
private Sub testOds(dbgOutput as string)
  OutputDebugString dbgOutput
End Sub
Print | posted on Wednesday, July 23, 2008 10:27 AM