Article View: borland.public.cppbuilder.nativeapi
Article #10747How to use RPC with Protocol Sequence ncacn_nb_nb
From: Gary Setter
Date: Tue, 23 Mar 2004 19:40
Date: Tue, 23 Mar 2004 19:40
21 lines
1630 bytes
1630 bytes
Hi,
I'm new to RPC functions. I've been reading the doc, and tried the demo.
I've been expeimenting and found the some protocol sequences work and some
not. I have ncacn_ip_tcp and ncacn_nb_nb installed. ncacn_ip_tcp works
fine, but ncacn_nb_nb fails.
The error I receive from RpcServerUseProtseqEp is "Invalid endpoint format".
The end point is just the name of my machine from
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP\ComputerNam
e
My call looks like this
RpcServerUseProtseqEp("ncacn_nb_nb", 20, 1, "MyComputer", 0);
My OS is Windows98.
Thanks for any light you can shine on this.
Best regards,
Gary
Technical Details
Message-ID:
<4060928c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d785977754169e10,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-23 11:40:53 PST From: "Gary Setter" <setterg@worldnet.att.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to use RPC with Protocol Sequence ncacn_nb_nb Date: Tue, 23 Mar 2004 13:40:05 -0600 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 12.74.20.78 Message-ID: <4060928c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1080070796 12.74.20.78 (23 Mar 2004 11:39:56 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail