Opened 10 years ago

Closed 10 years ago

#2790 closed Bug (Fixed)

RichEdit_StreamToFile doesn't work

Reported by: qwert Owned by: Melba23
Milestone: Component: AutoIt
Version: Severity: None
Keywords: RTF Rich Text RichEdit Cc:


After losing a day thinking I had a problem with my call, I examined the GUIRichEdit.au3 Include file and found a glaring error in the statement that tests the FileOpen result:

If $hFile - 1 Then Return SetError(102, 0, False)

It was always returning a 102, so I thought my filespec was faulty.

Not so. I changed my copy to be "$hFile = -1" and everything works. I looked back all the way to and found this same problem, so I don't think the function has worked for a while.

Comparison file is attached. And, BTW, what's with the question marks in the $iWparam statements?

Attachments (1)

StreamToFile Problem.au3 (6.0 KB) - added by qwert 10 years ago.
RichEdit_StreamToFile reference copies

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by qwert

RichEdit_StreamToFile reference copies

comment:1 Changed 10 years ago by Melba23

I will fix the typo.

The question marks are the ternary operator syntax introduced in - do keep up! ;)


comment:2 Changed 10 years ago by Melba23

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

Fixed by revision [10310] 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 Melba23.

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

Note: See TracTickets for help on using tickets.