Click here to Skip to main content
15,881,709 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: How do I do this ? Pin
Kurt _B12-Jul-06 5:42
Kurt _B12-Jul-06 5:42 
AnswerRe: How do I do this ? Pin
Pharago16-Jul-06 0:29
Pharago16-Jul-06 0:29 
QuestionHow to create dropdown style button using TBSTYLE_DROPDOWN Pin
shivditya10-Jul-06 1:48
shivditya10-Jul-06 1:48 
QuestionWhat Design Pattern does ATL/COM is based upon Pin
Balkrishna Talele10-Jul-06 1:40
Balkrishna Talele10-Jul-06 1:40 
AnswerRe: What Design Pattern does ATL/COM is based upon Pin
shivditya10-Jul-06 2:06
shivditya10-Jul-06 2:06 
AnswerRe: What Design Pattern does ATL/COM is based upon Pin
ThatsAlok10-Jul-06 23:25
ThatsAlok10-Jul-06 23:25 
QuestionMemory leak in CComVariant changetype Pin
rana749-Jul-06 20:59
rana749-Jul-06 20:59 
QuestionGraceful thread exit Pin
rana746-Jul-06 21:03
rana746-Jul-06 21:03 
I have a executable which creates a thread to perform a particular routine.
HANDLE hThread = CreateThread(NULL, 0, ThreadAdvise, pStream, 0, &dwThreadID);
WaitForSingleObject(hThread,1000);
CloseHandle(hThread);

The thread is created with a specified timeout duration.
If the routine takes more than that duration,then the thread exits irrespective of the state of the routine.
Now,in the case of such a forced abort,how do i ensure that all memory allocated for the routine is cleaned up prior to exit?
Is there a hook/API which can be used to do clean-ups for forced thread abortions?


AnswerRe: Graceful thread exit Pin
Arman S.11-Jul-06 3:08
Arman S.11-Jul-06 3:08 
QuestionHTTP Auth Intercept/Password Form Processing using IE Pin
harningt6-Jul-06 7:26
harningt6-Jul-06 7:26 
QuestionSTD::String replace Pin
snir_ya6-Jul-06 6:38
snir_ya6-Jul-06 6:38 
AnswerRe: STD::String replace Pin
Igor Vigdorchik6-Jul-06 8:38
Igor Vigdorchik6-Jul-06 8:38 
AnswerRe: STD::String replace Pin
Roland Pibinger7-Jul-06 12:21
Roland Pibinger7-Jul-06 12:21 
AnswerRe: STD::String replace Pin
Stuart Dootson6-Jul-06 22:01
professionalStuart Dootson6-Jul-06 22:01 
AnswerRe: STD::String replace Pin
Roland Pibinger7-Jul-06 12:30
Roland Pibinger7-Jul-06 12:30 
QuestionHow to implement WTL Pin
shivditya6-Jul-06 0:48
shivditya6-Jul-06 0:48 
AnswerRe: How to implement WTL Pin
Justin Tay6-Jul-06 3:52
Justin Tay6-Jul-06 3:52 
QuestionAdd toolbar to IExplorer Pin
HarishDixit5-Jul-06 23:31
HarishDixit5-Jul-06 23:31 
AnswerRe: Add toolbar to IExplorer Pin
shivditya6-Jul-06 0:41
shivditya6-Jul-06 0:41 
QuestionGetting hover buttons function [modified] Pin
Prem865-Jul-06 19:26
Prem865-Jul-06 19:26 
Questioncan template specialisation replace callback? Pin
f25-Jul-06 7:26
f25-Jul-06 7:26 
QuestionHow to use "fprintf" and "sprintf" in ATL dll creation. Pin
agarunk4-Jul-06 23:29
agarunk4-Jul-06 23:29 
AnswerRe: How to use "fprintf" and "sprintf" in ATL dll creation. Pin
Jörgen Sigvardsson4-Jul-06 23:44
Jörgen Sigvardsson4-Jul-06 23:44 
GeneralRe: How to use "fprintf" and "sprintf" in ATL dll creation. Pin
agarunk5-Jul-06 19:23
agarunk5-Jul-06 19:23 
QuestionTrying to Put HWND Value Into String [modified] Pin
redfish343-Jul-06 23:10
redfish343-Jul-06 23:10 

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.