Erik Wilsher schrieb: > I have a problem with Fire_Event that I can't figure out, and some help > would be appreciated. The "problem" is probably from my lack of > understanding of COM. > > I have a server with three interfaces, one outbound event interface, and two > inbound interfaces [...] > ---- > The problem is that events fired from Itest2 methods (i.e using a Fire_Event > within the register method) is never propagated and never reaches clients > that are listening with ShowEvents, while events fired from Itest1 is. The > server is running as a local server, STA. > > I have tried the following combinations on the server side: > self.Fire_Event(0, 'RunState', 'test', 3) > self.Fire_Event(...IServerEvents, 'RunState', 'test', 3) > > Watching the debug output, I can see that the > .connectionpoints._call_sinks(...) is always executed when I call > Fire_Event(), but the object addresses of the ConnectionPointImpl object are > different depending on where the Fire_Event originates (from Itest1 or > Itest2)
Are you writing both the server and the client code in comtypes? Are you able to strip it down to a small selfcontained test case, and post the code? -- Thanks, Thomas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users