Click here to Skip to main content
15,918,404 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaltoolbar position problems Pin
MichaT5-Dec-02 6:58
MichaT5-Dec-02 6:58 
GeneralRe: toolbar position problems Pin
Roger Allen5-Dec-02 7:55
Roger Allen5-Dec-02 7:55 
GeneralRe: toolbar position problems Pin
MichaT5-Dec-02 8:06
MichaT5-Dec-02 8:06 
GeneralCFont problem... Pin
Ruca5-Dec-02 6:23
Ruca5-Dec-02 6:23 
GeneralRe: CFont problem... Pin
Michael Dunn5-Dec-02 6:32
sitebuilderMichael Dunn5-Dec-02 6:32 
GeneralRe: CFont problem... Pin
Ruca5-Dec-02 6:48
Ruca5-Dec-02 6:48 
GeneralCHttpFile Pin
Paul M Watt5-Dec-02 6:01
mentorPaul M Watt5-Dec-02 6:01 
GeneralRe: CHttpFile Pin
sonshiro5-Dec-02 18:23
sonshiro5-Dec-02 18:23 
GeneralProbable Memory Leak Pin
Tili5-Dec-02 5:22
Tili5-Dec-02 5:22 
QuestionWhat is the difference between ... Pin
User 98855-Dec-02 5:14
User 98855-Dec-02 5:14 
AnswerRe: What is the difference between ... Pin
Maximilien5-Dec-02 5:24
Maximilien5-Dec-02 5:24 
GeneralRe: What is the difference between ... Pin
User 98855-Dec-02 5:29
User 98855-Dec-02 5:29 
GeneralRe: What is the difference between ... Pin
Maximilien5-Dec-02 5:45
Maximilien5-Dec-02 5:45 
GeneralRe: What is the difference between ... Pin
Daniel Turini5-Dec-02 6:08
Daniel Turini5-Dec-02 6:08 
GeneralRe: What is the difference between ... Pin
User 98855-Dec-02 6:11
User 98855-Dec-02 6:11 
QuestionHow to Expose two COM interfaces Pin
Alois Kraus5-Dec-02 5:08
Alois Kraus5-Dec-02 5:08 
AnswerRe: How to Expose two COM interfaces Pin
peterchen5-Dec-02 7:37
peterchen5-Dec-02 7:37 
GeneralVisible area of CDC Pin
S O S5-Dec-02 4:07
S O S5-Dec-02 4:07 
GeneralRe: Visible area of CDC Pin
Maximilien5-Dec-02 4:18
Maximilien5-Dec-02 4:18 
GeneralRe: Visible area of CDC Pin
Paul M Watt5-Dec-02 5:31
mentorPaul M Watt5-Dec-02 5:31 
GeneralRe: Visible area of CDC Pin
S O S5-Dec-02 10:04
S O S5-Dec-02 10:04 
GeneralAdding a printer driver programmatically Pin
Adrian von Gunten5-Dec-02 3:53
Adrian von Gunten5-Dec-02 3:53 
Generalchecking a pipe status Pin
Martin Blanc5-Dec-02 3:43
Martin Blanc5-Dec-02 3:43 
GeneralRe: checking a pipe status Pin
Alois Kraus5-Dec-02 23:29
Alois Kraus5-Dec-02 23:29 
I did use PeekNamedPipe for this purpose and it worked perfectly.
I use a one byte reciever buffer in the PeekNamedPipe function.
You could of course use WriteFileEx with an completion Routine and wait
for an error to occur.

A live ping always involves sending packets and check if the reciever responds
to it. There is simply no other way to check if somebody has unplugged Your network cable. PeekNamedPipe does exactly this in a transparent way without disturbing
your data transfer.

GeneralRe: checking a pipe status Pin
Martin Blanc6-Dec-02 4:54
Martin Blanc6-Dec-02 4:54 

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.