Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pipecom on 3.9x verions of QB64
#15
That was exactly the issue. I changed the lines to:
Code: (Select All)
    While ReadFile(hStdOutPipeRead, _Offset(buf), 4096, _Offset(dwRead), 0) <> 0
        If dwRead > 0 Then
            buf = Mid$(buf, 1, dwRead)
            GoSub RemoveChr13
            stdout = stdout + buf
            buf = Space$(4096 + 1)
        End If
    Wend

    While ReadFile(hStdReadPipeError, _Offset(buf), 4096, _Offset(dwRead), 0) <> 0
        If dwRead > 0 Then
            buf = Mid$(buf, 1, dwRead)
            GoSub RemoveChr13
            stderr = stderr + buf
            buf = Space$(4096 + 1)
        End If
    Wend
Very crazy that mingw's new version would adjust things so much. I wonder how many other programs might get screwed.
Tread on those who tread on you

Reply


Messages In This Thread
pipecom on 3.9x verions of QB64 - by krovit - 11-14-2023, 08:10 PM
RE: pipecom on 3.9x verions of QB64 - by bplus - 11-14-2023, 08:43 PM
RE: pipecom on 3.9x verions of QB64 - by bplus - 11-14-2023, 08:46 PM
RE: pipecom on 3.9x verions of QB64 - by bplus - 11-14-2023, 08:54 PM
RE: pipecom on 3.9x verions of QB64 - by a740g - 11-14-2023, 09:24 PM
RE: pipecom on 3.9x verions of QB64 - by SMcNeill - 11-14-2023, 09:51 PM
RE: pipecom on 3.9x verions of QB64 - by SpriggsySpriggs - 11-14-2023, 09:51 PM
RE: pipecom on 3.9x verions of QB64 - by SMcNeill - 11-14-2023, 09:52 PM
RE: pipecom on 3.9x verions of QB64 - by krovit - 11-15-2023, 09:32 AM



Users browsing this thread: 2 Guest(s)