HighTechTalks DotNet Forums  

Re: ASP 2.0 web page -> C++/ATL/COM service -> C# test app for service

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Re: ASP 2.0 web page -> C++/ATL/COM service -> C# test app for service in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Gold Panther
 
Posts: n/a

Default Re: ASP 2.0 web page -> C++/ATL/COM service -> C# test app for service - 06-08-2007 , 02:23 PM






I had to call Microsoft to get the answer. It was what I had started
figuring it was. The class factory was not creating a singleton. I
suggest this to MS and they said that that was the problem. The C++
service should have had DECLARE_CLASSFACTORY_SINGLETON() in it. After
that I ran into another problem you might like to hear about. The
service fired the event and the ASP page could catch it by using
delegates (after I made sure an IDispatch interface was implemented),
but the C# application could not capture the event by delegates. I
had to create a custom event sink to do so. I'm not sure why this is
and Microsoft doesn't seem to want to answer that question. Check if
this is the case if you run into this problem.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.