Click here to Skip to main content
15,899,025 members
Home / Discussions / COM
   

COM

 
GeneralSink implementation Pin
Hariharan.T31-Jan-05 0:26
Hariharan.T31-Jan-05 0:26 
QuestionHow to open the default browser ? Pin
lasterix28-Jan-05 0:48
lasterix28-Jan-05 0:48 
AnswerRe: How to open the default browser ? Pin
ThatsAlok28-Jan-05 18:17
ThatsAlok28-Jan-05 18:17 
GeneralRe: How to open the default browser ? Pin
lasterix29-Jan-05 21:25
lasterix29-Jan-05 21:25 
GeneralRe: How to open the default browser ? Pin
ThatsAlok8-Feb-05 19:39
ThatsAlok8-Feb-05 19:39 
AnswerRe: How to open the default browser ? Pin
User 21559731-Jan-05 19:16
User 21559731-Jan-05 19:16 
GeneralRe: How to open the default browser ? Pin
lasterix1-Feb-05 2:12
lasterix1-Feb-05 2:12 
Generalcalling COM from 2 threads Pin
Aviv Halperin27-Jan-05 2:22
Aviv Halperin27-Jan-05 2:22 
Hi,
I have an ATL COM that is initialized with CoInitializeEx(NULL,COINIT_MULTITHREADED) thus its multiple apartment COM and calls can be made simultaneously from different clients.

When I initialize and call it from an application, no problem.
When I initialize and call from 2 different applications- no problem as well.

But when I initialize it in one application and then try to initialize or call it from another thread in the same application, I get the following error:

"the application called an interface that was marshaled for a different thread"

What can I do to solve it? Should I change the way I call it?

Thanks.


avivhal
GeneralRe: calling COM from 2 threads Pin
geo_m29-Jan-05 6:22
geo_m29-Jan-05 6:22 
GeneralRe: calling COM from 2 threads Pin
Anonymous10-Feb-05 10:09
Anonymous10-Feb-05 10:09 
QuestionIUnknown Vs IDispatch??? Pin
Hariharan.T26-Jan-05 21:44
Hariharan.T26-Jan-05 21:44 
AnswerRe: IUnknown Vs IDispatch??? Pin
User 21559726-Jan-05 22:50
User 21559726-Jan-05 22:50 
GeneralRe: IUnknown Vs IDispatch??? Pin
ThatsAlok28-Jan-05 18:26
ThatsAlok28-Jan-05 18:26 
GeneralRe: IUnknown Vs IDispatch??? Pin
geo_m29-Jan-05 6:36
geo_m29-Jan-05 6:36 
GeneralRe: IUnknown Vs IDispatch??? Pin
ThatsAlok30-Jan-05 18:51
ThatsAlok30-Jan-05 18:51 
GeneralRe: IUnknown Vs IDispatch??? Pin
geo_m30-Jan-05 19:34
geo_m30-Jan-05 19:34 
GeneralRe: IUnknown Vs IDispatch??? Pin
sohail.kadiwala@gmail.com31-Jan-05 19:13
susssohail.kadiwala@gmail.com31-Jan-05 19:13 
GeneralRe: IUnknown Vs IDispatch??? Pin
ThatsAlok5-Feb-05 0:07
ThatsAlok5-Feb-05 0:07 
GeneralRe: IUnknown Vs IDispatch??? Pin
Mayur Mahajan5-Feb-05 6:00
Mayur Mahajan5-Feb-05 6:00 
QuestionSafeArrayCreate can be optimized? Pin
mandarpb25-Jan-05 0:07
sussmandarpb25-Jan-05 0:07 
GeneralTab Key does not work in WebBrowser when hosted in ATL dialog Pin
Member 999689524-Jan-05 19:49
Member 999689524-Jan-05 19:49 
GeneralFlash Player Extension Pin
the niros23-Jan-05 3:37
the niros23-Jan-05 3:37 
GeneralStatic members in COM and critical sections Pin
omkar joshi22-Jan-05 22:02
omkar joshi22-Jan-05 22:02 
GeneralDebug mode in COM ... Pin
omkar joshi22-Jan-05 21:49
omkar joshi22-Jan-05 21:49 
GeneralRe: Debug mode in COM ... Pin
geo_m26-Jan-05 7:58
geo_m26-Jan-05 7:58 

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.