
ATL COM - Passing ATL COM classes through another ATL COM class in the same app
Hi..
You need to understand Collections and Enumerators in order to do
what you want to do.
Take a look at
http://www3.ewebcity.com/somasundaram/Career/Repository/atl/atl_com_s....
htm
Also post your query at
microsoft.public.vc.atl
Cheers
Check Abdoul
-----------------
Quote:
> hi all,
> anyone out there know there way around ATL COM.??? I have a problem and
cant
> find any helpful hints in the docs....
> Ive got an ATL COM app with MFC support. I have an ATL object created from
> the 'simple object' template. I want to be able to create a collection of
> these objects and expose that collection through another ATL COM object. I
> have hit a brick wall.
> Ive thought about making the 'small' classes non ATL objects, but i still
> dont understand how to pass objects through the ATL COM interface. It
seems
> you can only pass parameters of certain types; im suspecting IDispatch and
> IUnknown are the way forward but I remain baffled. Can anyone explain this
> to me???
> ANY help gratefully received.
> James.
> :o(