【发布时间】:2009-02-20 21:07:49
【问题描述】:
在 VB6 中创建进程时(与this 问题相关:),我使用的是以下结构:
Private Type STARTUPINFO
cb As Long
lpReserved As String
lpDesktop As String
lpTitle As String
dwX As Long
dwY As Long
dwXSize As Long
dwYSize As Long
dwXCountChars As Long
dwYCountChars As Long
dwFillAttribute As Long
dwFlags As Long
wShowWindow As Integer
cbReserved2 As Integer
lpReserved2 As Long
hStdInput As Long
hStdOutput As Long
hStdError As Long
End Type
在我开始我的进程之前,需要对 STARTUPINFO.hStdOutput 进行什么操作才能让我的 VB6 应用读取我的托管进程的输出?
谢谢!!
【问题讨论】: