I can't seem to get that convert executable to work. When I try: convert -i -t "c:\data.dfm" (-t to convert to txt)
it says: Error converting c:\data.dfm: OBJECT expected on line 1. This tells me that it is looking for a txt dfm???? And if I try: convert -i -b "c:\data.dfm" (-b to convert to binary) it works but it just keeps it as binary, good use that is... Am I using it wrongly? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy North Sent: Monday, 9 December 2002 10:57 a.m. To: Multiple recipients of list delphi Subject: RE: [DUG]: Converting Data DFM to Text DFM No it can be used on entire DFM files as I have used it in an application before. Does the DFM work correctly if you use the CONVERT executable that is in the BIN folder? JED [EMAIL PROTECTED] wrote on 09/12/2002 08:51:14 AM: > 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? > > > Cheers, > > Andrew > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Jeremy Coulter > Sent: Sunday, 10 November 2002 9:32 a.m. > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Converting Data DFM to Text DFM > > > There is a function called, "ObjectBinaryToText" > If you look in the Delphi help at the above topic, there is an example > on how to use it. > HTH. Jeremy > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Andrew Thomas > Sent: Saturday, 9 November 2002 23:24 > To: Multiple recipients of list delphi > Subject: [DUG]: Converting Data DFM to Text DFM > > > Does anyone know a way to convert data DFM to delphi DFM within code in > Delphi? > > i.e. I want to convert a binary stream of Data DFM to Text DFM and > display it > > Thanks > > Andrew > > > ------------------------------------------------------------------------ > --- > 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/ > > --------------------------------------------------------------------------- > 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/ > > --------------------------------------------------------------------------- > 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/ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the [EMAIL PROTECTED] --------------------------------------------------------------------------- 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/ --------------------------------------------------------------------------- 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/