Title: VB (for..each) to delphi

Hi!

I have a piece of example code in vb that i want to
use in delphi. but...
does anyone know offhand what constructs vb uses in
order to perform for..each operations, eg:

  For Each strName In SFS.SymbolNames
    txtSymNames.AddItem strName
  Next strName

ie does it use an IStrings interface or similar? as
far as i can tell, SFS.SymbolNames has an IDispatch
interface, but thats as far as i can go... i can use
a variant to (partially) access it, but i was trying
to get a better-typed solution :-)

or on a similar note, is there a way of finding out
what interfaces/guids an IUnknown supports?

Comments/suggestions appreciated!

Thanks,
Ben.

====================
Ben Taylor
Software Developer
[EMAIL PROTECTED]
www.tvd.co.nz

Reply via email to