Re: Event Sink registration in c++

From: Joji (Joji_at_discussions.microsoft.com)
Date: 08/16/04


Date: Mon, 16 Aug 2004 00:37:02 -0700

Sorry for the confusion.

My application is a local COM server(not COM+) that runs as a NT service.
This service provides maibox access to all the users in our system. I would
like to register the event sink for each mailbox alias configured in our
system, so that when changes happen in the exchange server, our application
is informed.

The question is if running the service under the local system account is
enough to do all the above functionalities? Or what are the security rights
needed to run the com server as a nt service? It could be helpful I you could
send me a sample of the event sink registration c++ code.

Ps: During testing I have seen that I could access the mailboxes and recieve
notifications from the exchange server using the local system account. What
fails is only the registration of event sink:-(

Cheers,
Joji

"John Wadie" wrote:

> I'm not sure I understood your new question. Do you mean you want to use
> the option "Run application as NT service" on the Activation tab in
> Component Services?
> Well, I haven't tried that option before, but I believe it will have no
> effect on the registration procedure.
>
> Regards,
> John Wadie



Relevant Pages