ID: Q149571
3.51 WINDOWS NT kbprg
The information in this article applies to:
OLE 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.
A 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 KBCategory: kbprg KBSubcategory: LeTwoArc
Keywords : LeTwoArc
Version : 3.51
Platform : NT WINDOWS
Last Reviewed: April 6, 1996