I have an application that uses RPC for interprocess communications. Turns out that synchronous RPC pipes used with "ncalrpc" protocol sequence are not alowed on Vista. I want to switch to "ncacn_np" and use RpcServerRegisterEpEx() with RPC_IF_ALLOW_LOCAL_ONLY flag.
Has anyone tried the same yet? Are there any possible problems associated with such transition?
-
You've seen this information about flag usage :
RPC for local really use LPC (Microsoft Windows Internals 4 ed, fron page 802):
Local RPC can be used for communication between two processes located on the same system, and the RPC run-time DLL uses the local procedure call (LPC) facilities in kernel mode as the local networking API.[EDITED]
More some help How to troubleshoot connectivity issues that are caused by RPC client protocol registry entriessharptooth : Do you mean tt if I specify "ncacn_np" and "loca only" flag it will still be using "ncalrpc"? Btw what is "SRV" here?lsalamon : SRV should be location of services referenced at RFC2782 (http://www.ietf.org/rfc/rfc2782.txt)sharptooth : Totally confused about SRV. Opened a new question http://stackoverflow.com/questions/851294/what-is-srv-in-ms-rpc-and-what-should-i-know-about-it
0 comments:
Post a Comment