Mark Lobanov 1 Posted October 11, 2021 unit OverbyteIcsMailQueue constructor TIcsMailQueue.Create(Aowner: TComponent); begin inherited; ... {$IFDEF UNICODE} FBodyText.WriteBOM := False; { V8.67 } {$ENDIF UNICODE} FMailServers := TMailServers.Create(Self); ... end; procedure TIcsMailQueue.SaveQuHdrs; ... {$IFDEF UNICODE} QueueLines.WriteBOM := False; { V8.67 } {$ENDIF UNICODE} ... [DCC Error] OverbyteIcsMailQueue.pas(1464): E2003 Undeclared identifier: 'WriteBOM' [DCC Error] OverbyteIcsMailQueue.pas(2243): E2003 Undeclared identifier: 'WriteBOM' Share this post Link to post
Angus Robertson 574 Posted October 11, 2021 WriteBOM is a TStringList method, I guess it was introduced some time after Delphi 2010, will have to investigate when. Angus Share this post Link to post
Mark Lobanov 1 Posted October 11, 2021 (edited) {$IFDEF COMPILER15_UP} maybe it would be more correct? Edited October 11, 2021 by Mark Lobanov Share this post Link to post
Angus Robertson 574 Posted October 11, 2021 Thanks, Compiler15 would be Delphi XE, so still an early unicode version, will change it. Angus Share this post Link to post