Gold Panther
6/8/2007 6:24:00 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.