2009-05-07 20 views
0

プロセス間通信にRPCを使用するアプリケーションがあります。 Vistaでは "ncalrpc"プロトコルシーケンスで使用される同期RPCパイプは使用できません。私は "ncacn_np"に切り替え、RPC_IF_ALLOW_LOCAL_ONLYフラグを付けてRpcServerRegisterEpEx()を使いたいと思います。「ncalrpc」から「ncacn_np」への切り替えの可能性のある問題

誰もまだ同じことを試しましたか?そのような移行に伴う問題がありますか?

答えて

2

あなたはフラグの使用については、この情報を見てきました:
ローカルRPCを使用することができますローカルは本当にLPC(マイクロソフトWindowsの内部4編、フロンページ802)を使用するための

...When this interface flag is registered, the RPC runtime rejects calls made by remote clients. All local calls using ncadg_* and ncacn_* protocol sequences are also rejected, with the exception of ncacn_np. RPC allows ncacn_NP calls only if the call does not come from SRV. Calls from ncalrpc are always processed...

RPCをRPCランタイムDLLは、カーネルモードのローカルプロシージャコール(LPC)機能をローカルネットワークAPIとして使用します。

[EDITED]
よりいくつかの助けHow to troubleshoot connectivity issues that are caused by RPC client protocol registry entries

+0

、私はそれはまだ "ncalrpc" 使用することになり、 "ncacn_np" と "ロカのみ" のフラグを指定する場合は、TTを意味しますか? Btwここで「SRV」は何ですか? – sharptooth

+0

SRVは、RFC2782(http://www.ietf.org/rfc/rfc2782.txt)で参照されるサービスの場所である必要があります – lsalamon

+0

完全にSRVについて混乱します。新しい質問を開きました。http://stackoverflow.com/questions/851294/what-is-srv-in-ms-rpc-and-what-should-i-know-about-it – sharptooth

関連する問題