Hi,

I am trying to find out why the listview example doesn't load in the IDE on windows 64.

I enabled and added some debugln's and got this information. The listview has an empty

[TJITComponentList.ReaderError] "Error reading ImageList1.Bitmap: Access violation" ignoring=0

Some more writelns told me the crash occurs when FOnChange(Self) is called in procedure TCustomImageList.Change;

The value of TMethod(FOnChange).code points to a copy of the TPersistentWithTemplates.DoNothing procedure which is located on the heap. It is a place holder for procedure TForm1.ImageList1Change.

Questions:
* Is this code actually to be executed? Was it designed so that the IDE could execute this code at design time? I think the answer is yes.

* I tested on windows XP 64. Does anybody know if the 64 bits version of windows works differently in this respect than the 32 bits version? For example does it proctect the memory on the heap from execution?

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to