Click here to Skip to main content
15,912,504 members
Home / Discussions / COM
   

COM

 
GeneralFiring Event in Worker Thread Pin
Tim Rymer11-Dec-01 10:26
Tim Rymer11-Dec-01 10:26 
GeneralRe: Firing Event in Worker Thread Pin
Ernest Laurentin11-Dec-01 11:43
Ernest Laurentin11-Dec-01 11:43 
GeneralRe: Firing Event in Worker Thread Pin
Tim Rymer12-Dec-01 5:30
Tim Rymer12-Dec-01 5:30 
GeneralRe: Firing Event in Worker Thread Pin
Ernest Laurentin12-Dec-01 5:53
Ernest Laurentin12-Dec-01 5:53 
GeneralRe: Firing Event in Worker Thread Pin
Firoz11-Dec-01 19:30
Firoz11-Dec-01 19:30 
GeneralRe: Firing Event in Worker Thread Pin
Tim Rymer12-Dec-01 5:34
Tim Rymer12-Dec-01 5:34 
GeneralRe: Firing Event in Worker Thread Pin
Firoz13-Dec-01 2:22
Firoz13-Dec-01 2:22 
GeneralRe: Firing Event in Worker Thread Pin
Ernest Laurentin13-Dec-01 5:27
Ernest Laurentin13-Dec-01 5:27 
I see where you are going with this. Let say you have two threads in your
object (GUI and Worker threads). Your suggestion is to post a message to the
GUI thread then fire the event from the GUI thread. Yes it will work but
can become quite complicate if you have many events. But CoInitializeEx
can do the trick. Again it must be called for in every thread that access your object.
I may write an article how to do this as soon I find the time.
GeneralOutlook automation Pin
JDMoore11-Dec-01 4:15
JDMoore11-Dec-01 4:15 
QuestionHow to add toolband to my application. (How IE does for itself?) Pin
koteswara10-Dec-01 19:30
koteswara10-Dec-01 19:30 
QuestionImplementing sink interface in raw C++? Pin
Henrik Husted8-Dec-01 18:31
Henrik Husted8-Dec-01 18:31 
AnswerRe: Implementing sink interface in raw C++? Pin
Aaron Schaefer9-Dec-01 11:11
Aaron Schaefer9-Dec-01 11:11 
GeneralActiveX Pin
mazy4-Dec-01 2:57
mazy4-Dec-01 2:57 
GeneralDllSurrogate problems Pin
Avneesh Bhatnagar3-Dec-01 18:38
Avneesh Bhatnagar3-Dec-01 18:38 
GeneralRe: DllSurrogate problems Pin
Joao Morais5-Jan-02 0:36
Joao Morais5-Jan-02 0:36 
GeneralQueryInterface( ..., void** ppv) Pin
3-Dec-01 9:26
suss3-Dec-01 9:26 
GeneralRe: QueryInterface( ..., void** ppv) Pin
Bill Wilson3-Dec-01 10:45
Bill Wilson3-Dec-01 10:45 
GeneralRe: QueryInterface( ..., void** ppv) Pin
Shadi Al-Kahwaji9-Dec-01 22:41
Shadi Al-Kahwaji9-Dec-01 22:41 
GeneralAutomatisation question - need hint Pin
Harald Krause2-Dec-01 6:25
Harald Krause2-Dec-01 6:25 
GeneralRe: Automatisation question - need hint Pin
David Stranz3-Dec-01 6:53
David Stranz3-Dec-01 6:53 
Generalpassing connection points parameters by ref Pin
SPENNER1-Dec-01 8:38
SPENNER1-Dec-01 8:38 
GeneralRe: passing connection points parameters by ref Pin
Anders Molin1-Dec-01 10:56
professionalAnders Molin1-Dec-01 10:56 
GeneralRe: passing connection points parameters by ref Pin
SPENNER1-Dec-01 11:38
SPENNER1-Dec-01 11:38 
GeneralRe: passing connection points parameters by ref Pin
Anders Molin1-Dec-01 12:50
professionalAnders Molin1-Dec-01 12:50 
GeneralRe: passing connection points parameters by ref Pin
Michael P Butler2-Dec-01 1:54
Michael P Butler2-Dec-01 1:54 

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.