Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: setup project Pin
David Crow4-Apr-06 7:24
David Crow4-Apr-06 7:24 
Questionfloating CDialogBar remains on screen when clicking the close button Pin
freddylowski4-Apr-06 6:37
freddylowski4-Apr-06 6:37 
QuestionHow do I keep menu attributes that exist when the menu refreshes? Pin
jonesap54-Apr-06 6:10
jonesap54-Apr-06 6:10 
QuestionRe: How do I keep menu attributes that exist when the menu refreshes? Pin
David Crow4-Apr-06 7:27
David Crow4-Apr-06 7:27 
QuestionRe: How do I keep menu attributes that exist when the menu refreshes? Pin
jonesap54-Apr-06 7:30
jonesap54-Apr-06 7:30 
AnswerRe: How do I keep menu attributes that exist when the menu refreshes? Pin
Michael Dunn4-Apr-06 11:31
sitebuilderMichael Dunn4-Apr-06 11:31 
AnswerRe: How do I keep menu attributes that exist when the menu refreshes? Pin
jonesap54-Apr-06 12:21
jonesap54-Apr-06 12:21 
Questionkill COM calls in thread Pin
viperlogic4-Apr-06 5:47
viperlogic4-Apr-06 5:47 
i have a thread that calls the following

CoInitializeEx()
CoInitializeSecurity()
CoCreateInstance()
ConnectServer()

if the thread isnt successful in 3secs (using WaitForSingleObject(pThread->m_hThread, 3000)) it is closed.

what is the best way of killing a thread from outside the thread, i am using TerminateThread() but i dont think this is the best way??

it appears thou that the calls in the thread are not being killed off because if i go to start the thread again CoInitializeSecurity() throws up an error saying that it cant initialize security. so iam assuming it is saying this because the thread wasnt killed off right

plz help
AnswerRe: kill COM calls in thread Pin
ThatsAlok4-Apr-06 6:46
ThatsAlok4-Apr-06 6:46 
GeneralRe: kill COM calls in thread Pin
viperlogic4-Apr-06 6:56
viperlogic4-Apr-06 6:56 
GeneralRe: kill COM calls in thread Pin
ThatsAlok4-Apr-06 7:05
ThatsAlok4-Apr-06 7:05 
GeneralRe: kill COM calls in thread Pin
viperlogic4-Apr-06 7:40
viperlogic4-Apr-06 7:40 
AnswerRe: kill COM calls in thread Pin
David Crow4-Apr-06 7:28
David Crow4-Apr-06 7:28 
GeneralRe: kill COM calls in thread Pin
viperlogic4-Apr-06 8:01
viperlogic4-Apr-06 8:01 
GeneralRe: kill COM calls in thread Pin
David Crow4-Apr-06 8:13
David Crow4-Apr-06 8:13 
GeneralRe: kill COM calls in thread Pin
viperlogic4-Apr-06 10:19
viperlogic4-Apr-06 10:19 
QuestionRe: kill COM calls in thread Pin
David Crow4-Apr-06 10:37
David Crow4-Apr-06 10:37 
AnswerRe: kill COM calls in thread Pin
viperlogic4-Apr-06 10:41
viperlogic4-Apr-06 10:41 
GeneralRe: kill COM calls in thread Pin
David Crow4-Apr-06 11:02
David Crow4-Apr-06 11:02 
QuestionTreeView_CreateDragImage Pin
Luther Baker4-Apr-06 5:01
Luther Baker4-Apr-06 5:01 
Questionhackers delight, how to parse all compbinations Pin
9ine4-Apr-06 4:55
9ine4-Apr-06 4:55 
QuestionRe: hackers delight, how to parse all compbinations Pin
David Crow4-Apr-06 5:01
David Crow4-Apr-06 5:01 
AnswerRe: hackers delight, how to parse all compbinations Pin
9ine4-Apr-06 5:05
9ine4-Apr-06 5:05 
AnswerRe: hackers delight, how to parse all compbinations Pin
toxcct4-Apr-06 5:11
toxcct4-Apr-06 5:11 
GeneralRe: hackers delight, how to parse all compbinations Pin
9ine4-Apr-06 5:36
9ine4-Apr-06 5:36 

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.