Click here to Skip to main content
15,916,042 members
Home / Discussions / COM
   

COM

 
GeneralWindows Protected Storage using "IPStorage" class Pin
David Lau1-Jun-02 8:22
David Lau1-Jun-02 8:22 
GeneralWTL ScrollView scrolling problem! Pin
ramjan1-Jun-02 5:25
ramjan1-Jun-02 5:25 
QuestionSCODE or HRESULT or...? Pin
Member 9631-May-02 9:16
Member 9631-May-02 9:16 
AnswerRe: SCODE or HRESULT or...? Pin
soptest31-May-02 9:42
soptest31-May-02 9:42 
AnswerRe: SCODE or HRESULT or...? Pin
Tim Smith31-May-02 10:28
Tim Smith31-May-02 10:28 
GeneralRe: SCODE or HRESULT or...? Pin
Member 9631-May-02 10:31
Member 9631-May-02 10:31 
GeneralRe: SCODE or HRESULT or...? Pin
soptest31-May-02 13:26
soptest31-May-02 13:26 
GeneralGIT and the FTM Pin
Philippe Mori31-May-02 4:09
Philippe Mori31-May-02 4:09 
When I call IGlobalInterfaceTable::RevokeInterfaceFromGlobal from a FTM object created in the main STA for an sub-object that was created from a MTA thread, a deadlock seems to occurs while I am revoking the interface (from the STA).

Here are the steps:
1) Create an object (that aggregate the FTM) in the main STA
2) Call a function on that object from a MTA thread and from that function create an sub-object (that does uses the FTM) in the STA but register it in the GIT from the MTA.
3) Destroy the object from the STA. When revoking the cookie for the sub-object a deadlock seems to occurs.

Any idea for a solution?

Should an object always be registered from it own apartment?

Does there is some restrictions when using the GIT for FTM objects?

Is my problem caused by the MTA not responding at that time?

In fact, if I force the creation of the sub-object from the STA instead of waiting when I need it (which will occurs from a call made from a MTA in my case), no deadlock will occurs...

I haven't found much "advanced" informations on the GIT and the MSDN documentation is not clear enough about potential problems, limitations and restrictions. Any suggestions?

Philippe Mori
GeneralRe: GIT and the FTM Pin
soptest31-May-02 9:04
soptest31-May-02 9:04 
GeneralRe: GIT and the FTM Pin
Philippe Mori14-Jun-02 3:46
Philippe Mori14-Jun-02 3:46 
GeneralW2A query Pin
Nish Nishant30-May-02 1:07
sitebuilderNish Nishant30-May-02 1:07 
GeneralRe: W2A query Pin
Prem Kumar30-May-02 7:48
Prem Kumar30-May-02 7:48 
GeneralRe: W2A query Pin
Nish Nishant30-May-02 15:02
sitebuilderNish Nishant30-May-02 15:02 
GeneralRe: W2A query Pin
soptest30-May-02 7:59
soptest30-May-02 7:59 
GeneralRe: W2A query Pin
Nish Nishant30-May-02 15:04
sitebuilderNish Nishant30-May-02 15:04 
GeneralATL DLL-server problem Pin
Hans Ruck29-May-02 2:21
Hans Ruck29-May-02 2:21 
GeneralRe: ATL DLL-server problem Pin
-Dy29-May-02 5:43
-Dy29-May-02 5:43 
GeneralMS Excel automation Pin
28-May-02 23:01
suss28-May-02 23:01 
GeneralRe: MS Excel automation Pin
Amit Dey30-May-02 19:19
Amit Dey30-May-02 19:19 
QuestionHow to get HTML code from MSHTML? Pin
28-May-02 13:29
suss28-May-02 13:29 
AnswerRe: How to get HTML code from MSHTML? Pin
soptest28-May-02 14:25
soptest28-May-02 14:25 
GeneralRe: How to get HTML code from MSHTML? Pin
29-May-02 6:52
suss29-May-02 6:52 
Generalautomation Pin
28-May-02 6:03
suss28-May-02 6:03 
GeneralRe: automation Pin
Prem Kumar28-May-02 7:28
Prem Kumar28-May-02 7:28 
GeneralRe: automation Pin
31-May-02 4:21
suss31-May-02 4:21 

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.