RPC_STATUS status;
char *netprotocol = "ncadg_ip_udp" ;
char *endpoint = "5000" ;
unsigned int nmaxcalls =100 ;
unsigned char * pszSecurity = NULL;
unsigned int fDontWait = TRUE;
status = RpcServerUseProtseqEp(
(unsigned char *)netprotocol,
nmaxcalls,
(unsigned char *)endpoint,
pszSecurity); 我在第二次调用这个函数时出错了,错误代码为1740
意思是Endpoint is duplicate,不知道该调用那个函数来把它结束掉,急呀,二次调用的参数一样的值
解决给高分,分不够的话给我说,可以再加
char *netprotocol = "ncadg_ip_udp" ;
char *endpoint = "5000" ;
unsigned int nmaxcalls =100 ;
unsigned char * pszSecurity = NULL;
unsigned int fDontWait = TRUE;
status = RpcServerUseProtseqEp(
(unsigned char *)netprotocol,
nmaxcalls,
(unsigned char *)endpoint,
pszSecurity); 我在第二次调用这个函数时出错了,错误代码为1740
意思是Endpoint is duplicate,不知道该调用那个函数来把它结束掉,急呀,二次调用的参数一样的值
解决给高分,分不够的话给我说,可以再加
www.vcbase.com
www.vchelp.net