Click here to Skip to main content
15,909,835 members
Home / Discussions / COM
   

COM

 
GeneralRe: MSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Anonymous8-Apr-04 13:12
Anonymous8-Apr-04 13:12 
GeneralRe: MSXML implementing ISAXContentHandler, what on earth am I missing?? Pin
Senkwe Chanda12-Apr-04 7:45
Senkwe Chanda12-Apr-04 7:45 
GeneralCOM events Pin
El'Cachubrey7-Apr-04 22:43
El'Cachubrey7-Apr-04 22:43 
GeneralNamespace Extension Pin
harishail7-Apr-04 2:09
harishail7-Apr-04 2:09 
GeneralRe: Namespace Extension Pin
_Magnus_8-Apr-04 0:10
_Magnus_8-Apr-04 0:10 
GeneralMarshaling interface pointers in DirectX Pin
Martin Hinchy6-Apr-04 15:12
Martin Hinchy6-Apr-04 15:12 
GeneralRe: Marshaling interface pointers in DirectX Pin
Rory Solley6-Apr-04 22:25
Rory Solley6-Apr-04 22:25 
GeneralRe: Marshaling interface pointers in DirectX Pin
Anonymous8-Apr-04 10:27
Anonymous8-Apr-04 10:27 
You are right, the interface pointers must be marshalled when passed between apartments.
But MS doesn't always follow it's own rule. DirectX objects mostly use registered as "both" (which mean that whatever apartment you created them in, no proxy will be created), so it shouldn't cause any problem to pass the interfaces like that.
But unfortunately they will do the same (I believe that was a IGraphBuilder in DX 8.0 that I noticed was doing this) with the callback interfaces, i.e. if you created DX object and your callback object in the STA and pass the callback interface to DX object, the methods of your object might be called from any thread. (btw, I observed this with some shell interfaces as well)

Edward


Questionhow to develop the ATL based Netmeeting wrapper Pin
hmstone5-Apr-04 17:58
hmstone5-Apr-04 17:58 
GeneralRenaming COM object Pin
PaleyX5-Apr-04 2:12
PaleyX5-Apr-04 2:12 
GeneralRe: Renaming COM object Pin
Steve S5-Apr-04 2:29
Steve S5-Apr-04 2:29 
GeneralRe: Renaming COM object Pin
PaleyX5-Apr-04 5:52
PaleyX5-Apr-04 5:52 
GeneralRe: Renaming COM object Pin
vprashu5-Apr-04 8:15
vprashu5-Apr-04 8:15 
GeneralRe: Renaming COM object Pin
PaleyX5-Apr-04 13:27
PaleyX5-Apr-04 13:27 
GeneralRe: Renaming COM object Pin
PaleyX5-Apr-04 14:13
PaleyX5-Apr-04 14:13 
GeneralOutlook addin Pin
scvarz3-Apr-04 21:52
scvarz3-Apr-04 21:52 
GeneralRe: Outlook addin Pin
Brigsoft10-Apr-04 7:46
Brigsoft10-Apr-04 7:46 
GeneralSimple COM & Collection Objects Pin
stickleprojects2-Apr-04 4:29
stickleprojects2-Apr-04 4:29 
GeneralRe: Simple COM & Collection Objects Pin
Jörgen Sigvardsson3-Apr-04 3:27
Jörgen Sigvardsson3-Apr-04 3:27 
GeneralCom without MFC Pin
shiraztk1-Apr-04 22:12
shiraztk1-Apr-04 22:12 
GeneralRe: Com without MFC Pin
Mil 101-Apr-04 23:52
sussMil 101-Apr-04 23:52 
GeneralRe: Com without MFC Pin
shiraztk2-Apr-04 0:28
shiraztk2-Apr-04 0:28 
GeneralPassing string Pin
shiraztk1-Apr-04 19:46
shiraztk1-Apr-04 19:46 
GeneralRe: Passing string Pin
Rory Solley1-Apr-04 20:19
Rory Solley1-Apr-04 20:19 
GeneralRe: Passing string Pin
shiraztk1-Apr-04 20:23
shiraztk1-Apr-04 20:23 

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.