Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : TStringList AddObject problem

www.cryer.info
Managed Newsgroup Archive

TStringList AddObject problem

Subject:TStringList AddObject problem
Posted by:"Robert Greborio" (greboriorobe..@eurofasteners.com)
Date:Fri, 14 Oct 2005 16:15:38 +0200

From a Stringlist I copy 1 position to another Stringlist as follows:
List2.AddObject(List1.Strings[List1.Count-1],List1.Objects[List1.Count-1]);

but big part of internal data of object is alterated !!

Where is the error??

Robert

Replies:

www.cryer.info
Managed Newsgroup Archive