Andrew Thomas wrote on Monday, 9 December 2002 12:14 p.m.:
> Sweet managed to find the problem with the help of Jeremy, now
> another question on the same lines, is there anyway you can tell if
> you have got a text or data dfm from a TMemoryStream?  

Check if the first character is 255. If it is then it's binary.

Cheers,
Paul
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to