Connection points between a VB COM-based and ATL COM-based (NT Service) MTA 
Author Message
 Connection points between a VB COM-based and ATL COM-based (NT Service) MTA

How do I create and use Connection points in an VB COM-based server and ATL
COM-based (NT Service) MTA ?
How do I solve the problem  between STA in VB and MTA in ATL ?

Where can I find information about this  ?

Thanks in advance,
Monica Graber



Mon, 06 Jan 2003 03:00:00 GMT  
 Connection points between a VB COM-based and ATL COM-based (NT Service) MTA
You can pretty much ignore the threading issues as COM will take care
of the details.  That is, unless, you pass the VB component from one
thread to another, in which case you will have to use the GIT.

I hope this helps.
Mark

On Thu, 20 Jul 2000 16:47:51 +0200, "Monica Graber"

Quote:

>How do I create and use Connection points in an VB COM-based server and ATL
>COM-based (NT Service) MTA ?
>How do I solve the problem  between STA in VB and MTA in ATL ?

>Where can I find information about this  ?

>Thanks in advance,
>Monica Graber



Mon, 06 Jan 2003 03:00:00 GMT  
 Connection points between a VB COM-based and ATL COM-based (NT Service) MTA
Since the service uses MTA, no marshaling is needed. No worries
whatsoever - just like the in-proc case. The trick is to call
CoInitalizeSecurity in VB, though... (Don't ask me about that
though, I'm not a VB expert...)

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD

MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================


Quote:
> You can pretty much ignore the threading issues as COM will take care
> of the details.  That is, unless, you pass the VB component from one
> thread to another, in which case you will have to use the GIT.

> I hope this helps.
> Mark

> On Thu, 20 Jul 2000 16:47:51 +0200, "Monica Graber"

> >How do I create and use Connection points in an VB COM-based server and
ATL
> >COM-based (NT Service) MTA ?
> >How do I solve the problem  between STA in VB and MTA in ATL ?

> >Where can I find information about this  ?

> >Thanks in advance,
> >Monica Graber



Tue, 07 Jan 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Connection Points (VB and ATL COM)

2. Memory usage: ATL based COM Server Service

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

4. COM ATL AND Connection Points HELP!

5. ATL Com wrapper for C DLL - problem with Connection Points

6. ATL COM object with Connection Point -- How

7. vb client of a c++ dll-based COM server

8. ATL COM object with Connection Point -- How

9. Connection Points with Visual C++ 6.0 (ATL / COM)

10. ATL COM( connection point) with MFC question..

11. COM/ATL connection points

12. ATL and Base Class Pointers in COM

 

 
Powered by phpBB® Forum Software