相关疑难解决方法(0)

如何在VB6中读取子进程的标准输出?

在VB6中创建进程时(与问题相关:),我使用以下结构:

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
Run Code Online (Sandbox Code Playgroud)

在开始我的流程之前,为了让我的VB6应用程序读取托管进程的输出,STARTUPINFO.hStdOutput需要做些什么?

谢谢!!

vb6 winapi stdout

0
推荐指数
1
解决办法
2216
查看次数

标签 统计

stdout ×1

vb6 ×1

winapi ×1