
ATL COM Passing other ATL classes through an ATL COM interface..
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(