Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Implementing a Delphi for..in loop on COM collections and Variant Arrays (https://www.delphipraxis.net/164246-implementing-delphi-loop-com-collections-variant-arrays.html)

DP News-Robot 4. Nov 2011 06:30

Implementing a Delphi for..in loop on COM collections and Variant Arrays
 
Enumerating a collection of Variants Many times when you are working with COM objects you need iterate over a collection, and usually the way to do this is using the _NewEnum function (which return a IUnknown interface) implemented by the COM class and then assign that value to a IEnumVariant ...http://feeds.feedburner.com/~r/delph...~4/wh3Ug5cPFIE

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:19 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz