Hi Frank, You are using functions returning tStrings. Although this is quite ok, you can come over a common error: if you assign the returned value of such a function to a var of type tString and then happen to free that var, you clobber your memory. Get used to FreeAndNil instead of Free, it will prevent you from errors like this one.
Have fun Bob > hey all, > Im new to creating components, and Im having a problem > getting rid of an error in one of my components. The > exception is an EAccessViolation whenever I quit my > test application that used one my components. And I > know it has to do with the TStrings that Im using > inside the component. Im freeing the TStrings when the > component is destroyed but the error still persists. > > function Execute: Boolean; > function TableRowCount: Integer; > function TableCellCount: Integer; > function TableHeadersCount: Integer; > function RawTable: TStrings; > function SortedTable: TStrings; > function DelimitedTable: TStrings; > function HeadersTable: TStrings; > function SortTable(tstr: TStrings): TStrings; ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

