I will be out of the office starting 12/18/2008 and will not return until 01/05/2009....
steve.beaulieu@...
Dec 24, 2008 3:02 pm
Hello, I need to store references to interfaces in a list so that when the user selects a list item I can easily access the interface that relates to that...
Hi Ian Munro, Use a TInterfaceList. That is a TList for interfaces. Regards, Tom ... From: delphigames@yahoogroups.com [mailto:delphigames@yahoogroups.com] On...
BTW, the problem you were having below is that when you shoved the interface into the Tlist, the reference count was not incremented. So, at some point, the...
Hello, I should probably explain my problem in greater detail as using an interface list will not work for me. I need to populate a visible list of data (a...
Hi Ian, Then you need to use _AddRef and _Release. This works great but you need to make sure that you call _Release *before* the listview deletes its items....
Hello, Thanks for your help in this matter. I've been speaking to the programmer of the DLL and he thinks that he may be able to sort the ref count in his...
Hi Ian, You are welcome. I like to monitor the group to keep my programming skills sharp (either learning something or being able to contribute). Good luck, ...
Can't you define something like type PMyItem = ^TMyItem; TMyItem = record item: IJanusDataSourceItem; end; function PMyItem MyItem(i: IJanusDataSourceItem) var...