Click here to Skip to main content
15,911,530 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL list and sort Pin
Stuart Dootson2-Dec-06 14:10
professionalStuart Dootson2-Dec-06 14:10 
GeneralRe: STL list and sort Pin
Zac Howland5-Dec-06 9:36
Zac Howland5-Dec-06 9:36 
AnswerRe: STL list and sort Pin
Sceptic Mole1-Dec-06 8:42
Sceptic Mole1-Dec-06 8:42 
GeneralRe: STL list and sort Pin
neilsolent1-Dec-06 9:58
neilsolent1-Dec-06 9:58 
GeneralRe: STL list and sort Pin
Stuart Dootson2-Dec-06 14:08
professionalStuart Dootson2-Dec-06 14:08 
GeneralRe: STL list and sort Pin
Sceptic Mole3-Dec-06 0:45
Sceptic Mole3-Dec-06 0:45 
QuestionWait for Local server intialization Pin
User 21559729-Nov-06 0:21
User 21559729-Nov-06 0:21 
AnswerRe: Wait for Local server intialization Pin
Roger Stoltz29-Nov-06 0:50
Roger Stoltz29-Nov-06 0:50 
As I see it there are three ways do accomplish this.

1. (Not very good and should be avoided until every other option has been rejected)
Poll some interface method that can inform the caller whether the server is up and running or not. Calls could be invoked by a timer.

2. (Presumably not suitable and requires a re-write of the server)
Have the server blocking while creating other servers so that it doesn't return until it's up and running.

3. (The correct way, if supported by the server)
Implement a callback, or connection point, that gets called when the server is up and running.

Technically there's a fourth way and that would be to cancel execution with ::Sleep(), but that is so very wrong that it doesn't even make the list above.
Don't even consider it! Dead | X|

--
Roger


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

"No one remembers a coward!" - Jan Elfström 1998
"...but everyone remembers an idiot!" - my lawyer 2005 when heard of Jan's saying above

GeneralRe: Wait for Local server intialization Pin
User 21559729-Nov-06 1:56
User 21559729-Nov-06 1:56 
GeneralRe: Wait for Local server intialization Pin
User 21559729-Nov-06 4:55
User 21559729-Nov-06 4:55 
GeneralRe: Wait for Local server intialization Pin
Roger Stoltz29-Nov-06 6:10
Roger Stoltz29-Nov-06 6:10 
GeneralRe: Wait for Local server intialization Pin
User 21559729-Nov-06 23:29
User 21559729-Nov-06 23:29 
GeneralRe: Wait for Local server intialization Pin
Roger Stoltz30-Nov-06 0:19
Roger Stoltz30-Nov-06 0:19 
GeneralRe: Wait for Local server intialization Pin
User 21559730-Nov-06 4:13
User 21559730-Nov-06 4:13 
QuestionWTL Pin
Anilkumar K V26-Nov-06 23:01
Anilkumar K V26-Nov-06 23:01 
AnswerRe: WTL Pin
George L. Jackson28-Nov-06 14:49
George L. Jackson28-Nov-06 14:49 
QuestionSTL vector storing thread Pin
_tasleem25-Nov-06 2:00
_tasleem25-Nov-06 2:00 
AnswerRe: STL vector storing thread Pin
Michael Dunn25-Nov-06 11:10
sitebuilderMichael Dunn25-Nov-06 11:10 
AnswerRe: STL vector storing thread Pin
Laxman Auti27-Nov-06 23:59
Laxman Auti27-Nov-06 23:59 
GeneralRe: STL vector storing thread Pin
_tasleem30-Nov-06 23:11
_tasleem30-Nov-06 23:11 
Questioncan you help me? Pin
china.net23-Nov-06 4:32
china.net23-Nov-06 4:32 
AnswerRe: can you help me? Pin
prasad_som24-Nov-06 20:34
prasad_som24-Nov-06 20:34 
Questioncalling methods on _module Pin
tom groezer22-Nov-06 3:09
tom groezer22-Nov-06 3:09 
AnswerRe: calling methods on _module Pin
led mike22-Nov-06 5:37
led mike22-Nov-06 5:37 
QuestionTransparent controls Pin
damir_tk21-Nov-06 11:06
damir_tk21-Nov-06 11:06 

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.