Click here to Skip to main content
15,897,187 members
Home / Discussions / COM
   

COM

 
GeneralRe: Third party dll not recoginzed Pin
CARisk312-Dec-08 4:10
CARisk312-Dec-08 4:10 
AnswerRe: Third party dll not recoginzed [modified] - Cleared up Pin
PC Player26-Dec-08 10:18
PC Player26-Dec-08 10:18 
QuestionUrgent:Marshalling Strings Pin
geetha naidu9-Dec-08 2:34
geetha naidu9-Dec-08 2:34 
QuestionActiveX Controls in Multithreaded Applications Pin
mike at ist8-Dec-08 12:10
mike at ist8-Dec-08 12:10 
Questionerror access violation in WMI code ! Pin
viveksubbarao8-Dec-08 2:24
viveksubbarao8-Dec-08 2:24 
AnswerRe: error access violation in WMI code ! Pin
Baltoro13-Dec-08 8:56
Baltoro13-Dec-08 8:56 
QuestionHow to use the Aggregate COM object Pin
KASR14-Dec-08 23:34
KASR14-Dec-08 23:34 
QuestionHelp with COM+ LCE subscriber problem for own event class Pin
GraemeChambers3-Dec-08 22:08
GraemeChambers3-Dec-08 22:08 
I have created my own event class, publisher, and subscribers in C# .NET The event class and subscriber definitions exist in the same library. The publisher is a stand alone app which references this library. The subscriber is a windows service which also references this library.

In the windows service subscriber, I am able to receive normal COM+ events such as ApplicationEvents, ActivityEvents, etc etc, but I am having trouble receiving events from my own event class.

I am getting the exception: System.Runtime.InteropServces.COMException(0x80040201): An event was unable to invoke any of the subscribers.

My subscription code is:
ICatalogObject subscription = (ICatalogObject)transients.Add();
subscription.set_Value("Name", this.ToString()); // name it
subscription.set_Value("EventCLSID", GetEventClassID());
subscription.set_Value("InterfaceID", GetEventInterfaceID());
subscription.set_Value("SubscriberInterface", GetIUnknown());
bool success = transients.SaveChanges() == 0;

I have registered the library containing the event class with gacutil and regsvcs etc, but I can't receive events. The publisher application is listed in the Component Services viewer aswell -- it shows that the publisher app is using my event class.

Can anyone help me? I'm stuck
QuestionComposite active X control using VC++ 6.0 Pin
Nikkiee3-Dec-08 10:45
Nikkiee3-Dec-08 10:45 
QuestionCan I use GetActiveObject() in Server application ? Pin
Zyraph2-Dec-08 21:56
Zyraph2-Dec-08 21:56 
QuestionPassing an interface pointer to a component Pin
Taruni1-Dec-08 0:54
Taruni1-Dec-08 0:54 
AnswerRe: Passing an interface pointer to a component Pin
Jonathan Davies18-Dec-08 2:50
Jonathan Davies18-Dec-08 2:50 
QuestionHow to create a MimeFilter? Pin
svt gdwl30-Nov-08 20:33
svt gdwl30-Nov-08 20:33 
QuestionHelp needed in COM development Pin
mahammadhusen28-Nov-08 2:36
mahammadhusen28-Nov-08 2:36 
QuestionCreating COM, DCOM in VB 6.0 Pin
indian14325-Nov-08 19:13
indian14325-Nov-08 19:13 
QuestionPassing a Function Pointer to a function in IDL : Need Solution Urgently Pin
ShyamR23-Nov-08 22:50
ShyamR23-Nov-08 22:50 
AnswerRe: Passing a Function Pointer to a function in IDL : Need Solution Urgently Pin
merina200515-Dec-08 0:05
merina200515-Dec-08 0:05 
AnswerRe: Passing a Function Pointer to a function in IDL : Need Solution Urgently Pin
Jonathan Davies17-Dec-08 1:19
Jonathan Davies17-Dec-08 1:19 
GeneralRe: Passing a Function Pointer to a function in IDL : Need Solution Urgently Pin
ShyamR17-Dec-08 2:20
ShyamR17-Dec-08 2:20 
QuestionHow to use DLLImport when the entry point is nested in a class? Pin
cor287921-Nov-08 5:42
cor287921-Nov-08 5:42 
QuestionRecieving events when client is waiting Pin
merina200520-Nov-08 23:22
merina200520-Nov-08 23:22 
AnswerRe: Recieving events when client is waiting Pin
Lim Bio Liong23-Nov-08 18:15
Lim Bio Liong23-Nov-08 18:15 
GeneralRe: Recieving events when client is waiting Pin
merina200523-Nov-08 18:51
merina200523-Nov-08 18:51 
GeneralRe: Recieving events when client is waiting Pin
Lim Bio Liong24-Nov-08 0:41
Lim Bio Liong24-Nov-08 0:41 
GeneralRe: Recieving events when client is waiting Pin
merina20052-Dec-08 21:11
merina20052-Dec-08 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.