Opened 16 years ago

Closed 16 years ago

#367 closed Bug (Fixed)

StdOutRead Error in compiled program

Reported by: anonymous Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: StdOutRead Cc:



StdOutRead produces an error in the compiled program:
(compiled with AutoIt Beta, WinXP)

From the help-file:

; Demonstrates StdoutRead()
#include <Constants.au3>

Local $foo = Run(@ComSpec & " /c dir", @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)
Local $line
While 1
    $line = StdoutRead($foo)
    If @error Then ExitLoop
    MsgBox(0, "STDOUT read:", $line)

While 1
    $line = StderrRead($foo)
    If @error Then ExitLoop
    MsgBox(0, "STDERR read:", $line)

MsgBox(0, "Debug", "Exiting...")

The compiled demo will show following message:

AutoIt Error
Line -1:
Error: Unknown function name.

The uncompiled demo works OK.

Many thanks to the developer-team of AutoI.
Very good job.

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Valik

  • Milestone set to
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Valik.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.