Using OLE in Services in Windows NT 3.51Last reviewed: April 5, 1996Article ID: Q149571 |
The information in this article applies to:
SUMMARYOLE cannot be used between processes running in different security contexts in Windows NT 3.51 and earlier versions. It can be used between processes running in the same security context. For example, OLE cannot be used between a process running in a user's account and a service logged on the LocalSystem account (even if the service interacts with the desktop). However OLE can be used between a process running in a user's account and a service logged on to the same account.
MORE INFORMATIONA service can easily implement an OLE client because any OLE server that it launches will run in the same security context as the client. However a service that implements an OLE client will not be able to bind to a running server in a different security context. The service will be able to bind to a running server in the same security context using the Running Object Table. A service that implements an OLE server must run in the same security context as the client that uses it. If the client is a process that runs in a user's account, the service must also log on to that user's account. This can be done by using the Services control-panel application as follows:
The next version of Windows NT will allow processes in different security contexts to communicate using OLE.
|
Additional reference words: 2 OLE2 2.0 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |