Click here to Skip to main content
15,893,904 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RegisterWindowClass and resources from a DLL Pin
Randor 30-Mar-08 11:47
professional Randor 30-Mar-08 11:47 
GeneralRe: RegisterWindowClass and resources from a DLL Pin
Mark Salsbery30-Mar-08 11:56
Mark Salsbery30-Mar-08 11:56 
Questionprint .BMP file to printer ... how ? Pin
Member 435006729-Mar-08 11:38
Member 435006729-Mar-08 11:38 
AnswerRe: print .BMP file to printer ... how ? Pin
Member 435006729-Mar-08 14:02
Member 435006729-Mar-08 14:02 
GeneralRe: print .BMP file to printer ... how ? Pin
Mark Salsbery29-Mar-08 14:24
Mark Salsbery29-Mar-08 14:24 
AnswerRe: print .BMP file to printer ... how ? Pin
Hamid_RT7-Apr-08 2:29
Hamid_RT7-Apr-08 2:29 
QuestionUsing winsock, how can I tell if a system is listening for a connection on a port before I call connect? Pin
TragicComic29-Mar-08 10:39
TragicComic29-Mar-08 10:39 
AnswerRe: Using winsock, how can I tell if a system is listening for a connection on a port before I call connect? Pin
Moak29-Mar-08 13:29
Moak29-Mar-08 13:29 
Unfortunately you can't find out if a TCP port is open other than trying it. However there some design you could give a try:

- time out the connect call or use a socket library that can
- use a separate protocol to check availability, this could be the control system actively checking the hosts or the hosts sending an "hey I am alive" message in regular intervals
- use more than one client on the control system to compensate for delays

Hope it helps
/M


GeneralReuse projects created in Visual Studio 6 in Visual C++ 2008 Express Edition issue Pin
gedinfo29-Mar-08 8:47
gedinfo29-Mar-08 8:47 
GeneralRe: Reuse projects created in Visual Studio 6 in Visual C++ 2008 Express Edition issue Pin
Randor 29-Mar-08 10:07
professional Randor 29-Mar-08 10:07 
Generalprecompiled header file Pin
George_George29-Mar-08 4:55
George_George29-Mar-08 4:55 
GeneralRe: precompiled header file Pin
Mark Salsbery29-Mar-08 7:24
Mark Salsbery29-Mar-08 7:24 
GeneralRe: precompiled header file Pin
George_George29-Mar-08 22:47
George_George29-Mar-08 22:47 
GeneralRe: precompiled header file Pin
rp_suman29-Mar-08 23:04
rp_suman29-Mar-08 23:04 
GeneralRe: precompiled header file Pin
George_George29-Mar-08 23:33
George_George29-Mar-08 23:33 
GeneralRe: precompiled header file Pin
rp_suman30-Mar-08 0:59
rp_suman30-Mar-08 0:59 
GeneralRe: precompiled header file Pin
George_George30-Mar-08 1:05
George_George30-Mar-08 1:05 
GeneralRe: precompiled header file Pin
Mark Salsbery30-Mar-08 7:59
Mark Salsbery30-Mar-08 7:59 
GeneralRe: precompiled header file Pin
George_George30-Mar-08 23:12
George_George30-Mar-08 23:12 
GeneralRe: precompiled header file Pin
Mark Salsbery31-Mar-08 5:28
Mark Salsbery31-Mar-08 5:28 
GeneralRe: precompiled header file Pin
George_George31-Mar-08 18:27
George_George31-Mar-08 18:27 
Questionsteps reqd to connect from VC++9 to oracle? Pin
Kashineni29-Mar-08 4:47
Kashineni29-Mar-08 4:47 
AnswerRe: steps reqd to connect from VC++9 to oracle? Pin
rp_suman29-Mar-08 6:52
rp_suman29-Mar-08 6:52 
QuestionProblem of MENUBAR? Pin
Le@rner29-Mar-08 2:15
Le@rner29-Mar-08 2:15 
AnswerRe: Problem of MENUBAR? Pin
rp_suman29-Mar-08 2:34
rp_suman29-Mar-08 2:34 

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.