When creating a process in VB6 (related to this question:), I\'m using the following struct:
Private Type STARTUPINFO cb As Long lpReserved As String
See AttachConsole(ATTACH_PARENT_PROCESS)
AttachConsole(ATTACH_PARENT_PROCESS)