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



Sat, 30 Aug 2003 01:48:25 GMT  
 ATL COM Passing other ATL classes through an ATL COM interface..
Just found a load of stuff in MSDN regarding CComEnumerator.......You guys
might think Im a {*filter*} but Im going back to good ol Visual Basic!!!  ;o)

James.


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(



Sat, 30 Aug 2003 19:10:30 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ATL COM - Passing ATL COM classes through another ATL COM class in the same app

2. COM/ATL novice:passing object pointers through methods on a COM interface

3. Howto Expose a normal C++ class with methods via an Interface Class in ATL COM

4. Passing an array through the COM interface in ATL

5. passing COM object pointers to another COM object in ATL

6. ATL COM Interface not displayed in Class View

7. ATL COM Interface not displayed in Class View

8. ATL COM Class Final Construct dies with Member Accessor Class

9. HELP - ATL NT Service and COM Interface Problem

10. problem invoke Atl com with two interfaces

11. inherit a interface in COM with ATL

12. atl com and vb client - the interface not match

 

 
Powered by phpBB® Forum Software