Click here to Skip to main content
15,915,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDetecting Printer Types Pin
jerry0davis20-Mar-02 1:53
jerry0davis20-Mar-02 1:53 
Generalwaiting for a thread to finish creating Pin
20-Mar-02 1:30
suss20-Mar-02 1:30 
GeneralRe: waiting for a thread to finish creating Pin
Nish Nishant20-Mar-02 1:47
sitebuilderNish Nishant20-Mar-02 1:47 
GeneralRe: waiting for a thread to finish creating Pin
Daniel Turini20-Mar-02 1:49
Daniel Turini20-Mar-02 1:49 
GeneralRe: waiting for a thread to finish creating Pin
Carlos Antollini20-Mar-02 2:20
Carlos Antollini20-Mar-02 2:20 
GeneralRe: waiting for a thread to finish creating Pin
Christopher Duncan20-Mar-02 3:18
Christopher Duncan20-Mar-02 3:18 
GeneralRe: waiting for a thread to finish creating Pin
Tim Smith20-Mar-02 3:29
Tim Smith20-Mar-02 3:29 
GeneralRe: waiting for a thread to finish creating Pin
Christopher Duncan20-Mar-02 3:34
Christopher Duncan20-Mar-02 3:34 
Tim Smith wrote:
The handle isn't signaled until the thread is terminated, not started.

Absolutely. I probably didn't word things properly - I had meant that, as Carlos mentioned, that if beginthread returned a valid handle (instead of 0) then the thread proc had started, not that you should block on the handle. In the second example I meant to indicate that you signalled an event in the thread proc (that you created via CreateEvent(), etc.) and blocked on this after creating the thread if you wanted more control.

It's early here, I clearly need more caffeine...

Chistopher Duncan
Author - The Career Programmer: Guerilla Tactics for an Imperfect World (Apress)
GeneralRe: waiting for a thread to finish creating Pin
Tim Smith20-Mar-02 4:26
Tim Smith20-Mar-02 4:26 
Questionhow to add printer from VC++ ??? Pin
mits20-Mar-02 0:36
mits20-Mar-02 0:36 
AnswerRe: how to add printer from VC++ ??? Pin
jerry0davis20-Mar-02 1:51
jerry0davis20-Mar-02 1:51 
AnswerRe: how to add printer from VC++ ??? Pin
Carlos Antollini20-Mar-02 2:14
Carlos Antollini20-Mar-02 2:14 
Generalsetting ole-object in focus(word/excel) Pin
Atila20-Mar-02 0:02
Atila20-Mar-02 0:02 
GeneralOnInitDialog in VC7 Pin
Jason Hooper19-Mar-02 23:56
Jason Hooper19-Mar-02 23:56 
GeneralRe: OnInitDialog in VC7 Pin
mits20-Mar-02 0:45
mits20-Mar-02 0:45 
GeneralRe: OnInitDialog in VC7 Pin
Christopher Duncan20-Mar-02 3:21
Christopher Duncan20-Mar-02 3:21 
GeneralRe: OnInitDialog in VC7 Pin
Tom Archer20-Mar-02 4:34
Tom Archer20-Mar-02 4:34 
GeneralRe: OnInitDialog in VC7 Pin
Jason Hooper20-Mar-02 22:23
Jason Hooper20-Mar-02 22:23 
GeneralRe: OnInitDialog in VC7 Pin
Tom Archer21-Mar-02 2:18
Tom Archer21-Mar-02 2:18 
GeneralRe: OnInitDialog in VC7 Pin
mits21-Mar-02 2:36
mits21-Mar-02 2:36 
GeneralISAPI Debugging Pin
Tili19-Mar-02 23:52
Tili19-Mar-02 23:52 
GeneralMy own ListCtrl into CListView Pin
19-Mar-02 23:17
suss19-Mar-02 23:17 
GeneralRe: My own ListCtrl into CListView Pin
Joaquín M López Muñoz19-Mar-02 23:41
Joaquín M López Muñoz19-Mar-02 23:41 
GeneralNeed to remove buttons from a propertysheet Pin
Hans Ruck19-Mar-02 23:20
Hans Ruck19-Mar-02 23:20 
GeneralRe: Need to remove buttons from a propertysheet Pin
Joaquín M López Muñoz19-Mar-02 23:30
Joaquín M López Muñoz19-Mar-02 23:30 

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.