Link to home
Start Free TrialLog in
Avatar of rayb
rayb

asked on

Collection Classes

I'm implementing a library of COM objects using ATL.  I need to expose numerous collections to the client.  My primary clients will be written in VB, so the ideal resulting syntax would be:
v= obj(index).value
o= obj(index).otherValue
Or
v= obj.item(index).value
o= obj.item(index).otherValue

I've seen these two variations in syntax used before, how do I implement them with ATL?  Please provide references and code examples.

Thanks.

ASKER CERTIFIED SOLUTION
Avatar of endeavor
endeavor

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rayb
rayb

ASKER

This works great, George.
Thanks.