I have read up on all I can regarding delegates in NET. All documentation refers to them as being type-safe pointers. As such they hold a pointer to a memory address. I am using a delegate as a pointer to a callback for the EnumFontFamiliesEx API. If the garbage collector collects objects that are completely unrelated to the object holding the delegate and thus rearranges objects in memory, is the address pointed to by the delegate updated to reflect the new memory location of the callback function or does it still point to the original memory location specified when the delegate was instantiated?
Regards, John Whattam. =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
