Andrew Thomas wrote on Monday, 9 December 2002 10:51 a.m.: > I have tried to use this function now for a while but I keep getting > an error about the stream being an "invalid stream format". I know > the stream that I pass in to the function is correct. I am thinking > that this function ObjectBinaryToText can only be used for individual > components and not a whole data DFM?
I have used ObjectResourceToText to convert binary DFMs to text, and it works fine. You may have to seek to 0 in the binary DFM file stream first. 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/