I'm at my wits end with this compiler. Just recently, a software tester 
reported that setting the page control to be multilined causes many access 
violation errors and a priviledged instruction error. I go and test and find 
out he is right. This only occurs when items are being added to a TListView. 
This never happened before and the code hasnt changed, I think Delphi is 
becomming more and more chaotic. Even after uninstalling and reinstalling 
Delphi, the problem didnt go away. I'm adding items to the TListView by 
using

lvPM.AddItem(tsObjGetName(objs[i]), TpmUndo.Create(objs[i]));

the tsobjgetname function returns the name of a object (and has no leaks), 
and the TpmUndo is a TObject that has no special allocations, just 
references. Even if I had problems with these functions, it has nothing to 
do with a TPageControl. Any ideas? Also Memchk has been finding memory leaks 
with a TListView when there's nothing in it, in the controls and system pas. 
I can't afford to upgrade to D7 now, so I'm not sure what to do 
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to