Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: dynamic radio button Pin
Viorel.22-Jun-06 4:13
Viorel.22-Jun-06 4:13 
GeneralRe: dynamic radio button Pin
Tara1422-Jun-06 4:19
Tara1422-Jun-06 4:19 
GeneralRe: dynamic radio button Pin
_AnsHUMAN_ 22-Jun-06 3:54
_AnsHUMAN_ 22-Jun-06 3:54 
GeneralRe: dynamic radio button Pin
David Crow22-Jun-06 3:55
David Crow22-Jun-06 3:55 
Questiongetting content of console window Pin
kumarkar22-Jun-06 2:40
kumarkar22-Jun-06 2:40 
AnswerRe: getting content of console window Pin
_AnsHUMAN_ 22-Jun-06 2:53
_AnsHUMAN_ 22-Jun-06 2:53 
AnswerRe: getting content of console window Pin
David Crow22-Jun-06 3:14
David Crow22-Jun-06 3:14 
QuestionCalling RpcServerUseProtseqEp after RpcMgmtStopServerListening Pin
yccheok22-Jun-06 2:16
yccheok22-Jun-06 2:16 
Hello all,

By following article at http://www.codeproject.com/internet/rpcintro1.asp and http://www.codeproject.com/internet/rpcintro2.asp, I was able to have RPC feature in my application.

However, I realize that even I successfully call the RpcServerUseProtseqEp for the first time. I will have problem calling the same function, with same parameters at the second time, after I close all the RPC resource using RpcMgmtStopServerListening. I will get the following error result:

RpcServerUseProtseqEp failed. The endpoint is a duplicate. (1740)

The sequence of my RPC server is as follow, RpcServerUseProtseqEp-> RpcServerRegisterIf-> RpcServerListen (In another thread)-> RpcMgmtStopServerListening-> RpcServerUseProtseqEp (Opps! Fail at here)

Any idea on how I can restart the RPC service after I end it?

Thank you

yccheok
Questionwin32 to console Pin
Krishnatv22-Jun-06 1:42
Krishnatv22-Jun-06 1:42 
AnswerRe: win32 to console Pin
_AnsHUMAN_ 22-Jun-06 3:04
_AnsHUMAN_ 22-Jun-06 3:04 
AnswerRe: win32 to console Pin
led mike22-Jun-06 5:37
led mike22-Jun-06 5:37 
AnswerRe: win32 to console Pin
Michael Dunn22-Jun-06 8:34
sitebuilderMichael Dunn22-Jun-06 8:34 
QuestionRead content from CTreeCtrl! Pin
bosfan22-Jun-06 1:40
bosfan22-Jun-06 1:40 
AnswerRe: Read content from CTreeCtrl! Pin
peterchen22-Jun-06 5:21
peterchen22-Jun-06 5:21 
GeneralRe: Read content from CTreeCtrl! Pin
bosfan22-Jun-06 9:57
bosfan22-Jun-06 9:57 
AnswerRe: Read content from CTreeCtrl! Pin
Hamid_RT22-Jun-06 20:10
Hamid_RT22-Jun-06 20:10 
Questionadding data at the end of already exisiting file Pin
zahid_ash22-Jun-06 1:32
zahid_ash22-Jun-06 1:32 
AnswerRe: adding data at the end of already exisiting file Pin
_AnsHUMAN_ 22-Jun-06 1:40
_AnsHUMAN_ 22-Jun-06 1:40 
GeneralRe: adding data at the end of already exisiting file Pin
zahid_ash22-Jun-06 2:01
zahid_ash22-Jun-06 2:01 
GeneralRe: adding data at the end of already exisiting file Pin
_AnsHUMAN_ 22-Jun-06 2:14
_AnsHUMAN_ 22-Jun-06 2:14 
AnswerRe: adding data at the end of already exisiting file Pin
Hamid_RT22-Jun-06 20:25
Hamid_RT22-Jun-06 20:25 
QuestionTCP Socket Selection Pin
69 Bay22-Jun-06 1:31
69 Bay22-Jun-06 1:31 
AnswerRe: TCP Socket Selection Pin
bolivar12322-Jun-06 2:15
bolivar12322-Jun-06 2:15 
GeneralRe: TCP Socket Selection Pin
69 Bay22-Jun-06 2:31
69 Bay22-Jun-06 2:31 
Questionfunction needs pointer not vector Pin
PhilRosenberg22-Jun-06 1:08
PhilRosenberg22-Jun-06 1:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.