Click here to Skip to main content
15,923,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: enumerating domain names & computers in each domain Pin
valikac30-Jan-04 6:16
valikac30-Jan-04 6:16 
GeneralRe: enumerating domain names & computers in each domain Pin
skpanda3-Feb-04 3:43
skpanda3-Feb-04 3:43 
GeneralAccessing XML data in the IWebBrowser2 object Pin
MistER-j30-Jan-04 5:14
MistER-j30-Jan-04 5:14 
GeneralRe: Creating a window on top of IWebBrowser2 control Pin
Neville Franks31-Jan-04 1:15
Neville Franks31-Jan-04 1:15 
GeneralPrint from a .dll Pin
nathanreynolds30-Jan-04 5:03
nathanreynolds30-Jan-04 5:03 
GeneralRe: Print from a .dll Pin
basementman30-Jan-04 9:47
basementman30-Jan-04 9:47 
Generalmulti threaded COM woes Pin
Jim Crafton30-Jan-04 4:36
Jim Crafton30-Jan-04 4:36 
GeneralRe: multi threaded COM woes Pin
Diddy1-Feb-04 22:49
Diddy1-Feb-04 22:49 
How are you telling the tread to stop? If you control is Apartment threaded and you make an incoming call to the thread that created an (COM) object after you have told the thread to stop, you must pump messages as you wait for a worker thread to stop.

Try replacing the WaitForSingleObject with MsgWaitForMultipleObjects - including a message pump. Do a search for MsgWaitForMultipleObjects on MSDN, there is an example in there somewhere.

If that doesn't work try posting the code for the worker thread (the main 'loop' of it) along with what you do to make it stop.
GeneralPreventing Memory Leaks Pin
BrockVnm30-Jan-04 4:20
BrockVnm30-Jan-04 4:20 
GeneralRe: Preventing Memory Leaks Pin
John M. Drescher30-Jan-04 4:42
John M. Drescher30-Jan-04 4:42 
GeneralRe: Preventing Memory Leaks Pin
BrockVnm30-Jan-04 4:49
BrockVnm30-Jan-04 4:49 
GeneralRe: Preventing Memory Leaks Pin
John M. Drescher30-Jan-04 8:31
John M. Drescher30-Jan-04 8:31 
GeneralRe: Preventing Memory Leaks Pin
Maximilien30-Jan-04 5:03
Maximilien30-Jan-04 5:03 
GeneralRe: Preventing Memory Leaks Pin
Nemanja Trifunovic30-Jan-04 7:34
Nemanja Trifunovic30-Jan-04 7:34 
GeneralRe: Preventing Memory Leaks Pin
Ryan Binns30-Jan-04 17:32
Ryan Binns30-Jan-04 17:32 
GeneralDoubt in SHFileOperation !!! Pin
Ilamparithi30-Jan-04 4:10
Ilamparithi30-Jan-04 4:10 
GeneralRe: Doubt in SHFileOperation !!! Pin
Roger Allen30-Jan-04 4:15
Roger Allen30-Jan-04 4:15 
GeneralRe: Doubt in SHFileOperation !!! Pin
Ilamparithi30-Jan-04 4:27
Ilamparithi30-Jan-04 4:27 
GeneralRe: Doubt in SHFileOperation !!! Pin
John M. Drescher30-Jan-04 4:45
John M. Drescher30-Jan-04 4:45 
Generalcustom thumbnails for windows explorer Pin
bpChristoph30-Jan-04 4:05
bpChristoph30-Jan-04 4:05 
QuestionWhat is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
vmaltsev30-Jan-04 3:14
vmaltsev30-Jan-04 3:14 
AnswerRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
Joel Lucsy30-Jan-04 3:23
Joel Lucsy30-Jan-04 3:23 
GeneralRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
vmaltsev30-Jan-04 3:53
vmaltsev30-Jan-04 3:53 
AnswerRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
Mike Dimmick30-Jan-04 4:56
Mike Dimmick30-Jan-04 4:56 
GeneralRe: What is the diff between ?Foo@Class and ?FooA@Class in DLL export? Pin
vmaltsev30-Jan-04 5:10
vmaltsev30-Jan-04 5: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.