Click here to Skip to main content
16,008,469 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Deque Pin
danag26-Aug-02 12:14
danag26-Aug-02 12:14 
GeneralWindows service in ATL Pin
rajeev25-Aug-02 20:31
rajeev25-Aug-02 20:31 
GeneralRe: Windows service in ATL Pin
Vagif Abilov31-Aug-02 21:20
professionalVagif Abilov31-Aug-02 21:20 
QuestionDrag & Drop into a CWindowImpl? Pin
clintsinger23-Aug-02 12:43
clintsinger23-Aug-02 12:43 
AnswerRe: Drag & Drop into a CWindowImpl? Pin
Michael Dunn25-Aug-02 21:34
sitebuilderMichael Dunn25-Aug-02 21:34 
GeneralWTL FormBased APP with AX Pin
obt23-Aug-02 11:26
obt23-Aug-02 11:26 
GeneralProperty Sheet Wizard Pin
mango_lier22-Aug-02 9:42
mango_lier22-Aug-02 9:42 
GeneralCreateThread / CloseHandle cleanly Pin
Paul Farry22-Aug-02 5:14
professionalPaul Farry22-Aug-02 5:14 
Hi'

I'm writing an ATL component to manage RAS connections.

I've got all my Async Dial stuff operating coreectly, and I've now introduced threads to enable multiple operations to all occur.

Now when I watch the Open Handle Count, I notice it just Keeps growing. The documentation says I should CloseHandle on any threads I create, but wheree is the safest place to do so.

in the destructor?
In the End of the Thread function itself (i'm passing it a This which contains a member variable of the hThread)

Please help... I'm experiencing weird errors on the machine and I'm pretty sure it's related to this.

Thanks so much.


Paul Farry
GeneralRe: CreateThread / CloseHandle cleanly Pin
_Magnus_22-Aug-02 5:18
_Magnus_22-Aug-02 5:18 
GeneralRe: CreateThread / CloseHandle cleanly Pin
Paul Farry22-Aug-02 5:29
professionalPaul Farry22-Aug-02 5:29 
Generalset compiler error Pin
_Magnus_22-Aug-02 3:43
_Magnus_22-Aug-02 3:43 
GeneralRe: set compiler error Pin
Michael Dunn25-Aug-02 21:32
sitebuilderMichael Dunn25-Aug-02 21:32 
GeneralSTL Container of classes Pin
[James Pullicino]21-Aug-02 21:39
[James Pullicino]21-Aug-02 21:39 
GeneralRe: STL Container of classes Pin
Anonymous21-Aug-02 22:07
Anonymous21-Aug-02 22:07 
GeneralRe: STL Container of classes Pin
Neville Franks21-Aug-02 22:40
Neville Franks21-Aug-02 22:40 
GeneralRe: STL Container of classes Pin
[James Pullicino]21-Aug-02 23:08
[James Pullicino]21-Aug-02 23:08 
GeneralRe: STL Container of classes Pin
peterchen27-Aug-02 20:32
peterchen27-Aug-02 20:32 
GeneralRe: STL Container of classes Pin
[James Pullicino]29-Aug-02 23:38
[James Pullicino]29-Aug-02 23:38 
GeneralRegular Expression Template Archive Pin
Idefix21-Aug-02 5:30
Idefix21-Aug-02 5:30 
GeneralRe: Regular Expression Template Archive Pin
Neville Franks21-Aug-02 23:06
Neville Franks21-Aug-02 23:06 
QuestionActivex which itself a control container? Pin
tomer dror21-Aug-02 4:36
tomer dror21-Aug-02 4:36 
AnswerRe: Activex which itself a control container? Pin
Rashid Thadha21-Aug-02 6:11
Rashid Thadha21-Aug-02 6:11 
GeneralOLEMISC_SIMPLEFRAMESITE? Pin
tomer dror21-Aug-02 6:18
tomer dror21-Aug-02 6:18 
GeneralRe: OLEMISC_SIMPLEFRAMESITE? Pin
Rashid Thadha21-Aug-02 6:39
Rashid Thadha21-Aug-02 6:39 
GeneralRe: OLEMISC_SIMPLEFRAMESITE? Pin
tomer dror21-Aug-02 7:09
tomer dror21-Aug-02 7:09 

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.