Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC CEdit in ToolBar Pin
Waldermort30-Aug-06 9:38
Waldermort30-Aug-06 9:38 
AnswerRe: MFC CEdit in ToolBar Pin
ninolaroca30-Aug-06 21:58
ninolaroca30-Aug-06 21:58 
Questionintroduction to Multithreading Pin
manustone30-Aug-06 5:24
manustone30-Aug-06 5:24 
AnswerRe: introduction to Multithreading Pin
David Crow30-Aug-06 5:33
David Crow30-Aug-06 5:33 
GeneralRe: introduction to Multithreading Pin
manustone31-Aug-06 2:23
manustone31-Aug-06 2:23 
Questionconsole UNICODE error Pin
spicy_kid200030-Aug-06 4:16
spicy_kid200030-Aug-06 4:16 
AnswerRe: console UNICODE error Pin
Programm3r30-Aug-06 4:23
Programm3r30-Aug-06 4:23 
QuestionPipes Question ? Pin
Programm3r30-Aug-06 3:53
Programm3r30-Aug-06 3:53 
Hi all,

OK, I'm trying to create a pipe server and pipe client, but the thing is ... it's working if I test it on a local computer, but when I try and test it over a network ... nothing, I think the problem is my pipename.

This is what I've done so far.. (some less important code has been excluded)

<br />
//SERVER<br />
LPTSTR lpszPipename = TEXT("\\\\.\\pipe\\hello");<br />
hPipe = CreateNamedPipe( <br />
          lpszPipename,             // pipe name <br />
          PIPE_ACCESS_DUPLEX,       // read/write access <br />
          PIPE_TYPE_MESSAGE |       // message type pipe <br />
          PIPE_READMODE_MESSAGE |   // message-read mode <br />
          PIPE_WAIT,                // blocking mode <br />
          PIPE_UNLIMITED_INSTANCES, // max. instances  <br />
          BUFSIZE,                  // output buffer size <br />
          BUFSIZE,                  // input buffer size <br />
          NMPWAIT_USE_DEFAULT_WAIT, // client time-out <br />
          NULL);<br />
<br />
//CLIENT<br />
LPTSTR lpszPipename = TEXT("\\\\.\\pipe\\hallo");<br />


The thing is what is the correct pipename to give the server and the client to communicate over a network???

Can anyone help???

Thanx alot

Regards

Programm3r

AnswerRe: Pipes Question ? Pin
Dave Calkins30-Aug-06 3:59
Dave Calkins30-Aug-06 3:59 
GeneralRe: Pipes Question ? Pin
Programm3r30-Aug-06 4:03
Programm3r30-Aug-06 4:03 
QuestionRe: Pipes Question ? Pin
Programm3r30-Aug-06 4:14
Programm3r30-Aug-06 4:14 
AnswerRe: Pipes Question ? Pin
Dave Calkins30-Aug-06 4:23
Dave Calkins30-Aug-06 4:23 
GeneralRe: Pipes Question ? Pin
Programm3r30-Aug-06 4:29
Programm3r30-Aug-06 4:29 
GeneralRe: Pipes Question ? Pin
Programm3r30-Aug-06 4:37
Programm3r30-Aug-06 4:37 
GeneralRe: Pipes Question ? Pin
Dave Calkins30-Aug-06 4:39
Dave Calkins30-Aug-06 4:39 
QuestionRe: Pipes Question ? Pin
Programm3r30-Aug-06 4:45
Programm3r30-Aug-06 4:45 
AnswerRe: Pipes Question ? Pin
Dave Calkins30-Aug-06 5:12
Dave Calkins30-Aug-06 5:12 
QuestionMFC Toolbars ... View - embedded Pin
_NielsB30-Aug-06 3:51
_NielsB30-Aug-06 3:51 
AnswerRe: MFC Toolbars ... View - embedded Pin
led mike30-Aug-06 5:54
led mike30-Aug-06 5:54 
Questionmemory leak indetifying tool Pin
vvbkumar242230-Aug-06 3:36
vvbkumar242230-Aug-06 3:36 
AnswerRe: memory leak indetifying tool Pin
toxcct30-Aug-06 3:50
toxcct30-Aug-06 3:50 
AnswerRe: memory leak indetifying tool Pin
Hamid_RT30-Aug-06 3:54
Hamid_RT30-Aug-06 3:54 
QuestionHow to change project name? Pin
Max++30-Aug-06 3:12
Max++30-Aug-06 3:12 
AnswerRe: How to change project name? Pin
toxcct30-Aug-06 3:21
toxcct30-Aug-06 3:21 
AnswerRe: How to change project name? Pin
Hamid_RT30-Aug-06 3:26
Hamid_RT30-Aug-06 3:26 

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.