Re: Cross-apartment COM interface marhsalling
- From: "MoonStorm" <moonstorm@xxxxxxxxx>
- Date: 8 May 2006 00:14:07 -0700
Thanks for replying. It's interesting to know which calls pumps the
message queue. From the performance point of view, it is sad, I know,
but I have to use STA apartments for interaction with DirectShow. For
some unknown reason, from a MTA thread my VfW device won't work (see
http://groups.google.com/group/microsoft.public.win32.programmer.directx.managed/browse_thread/thread/854cddc13d2367cd).
Egbert, what exactly are you saying? I am not releasing anything in the
second thread. And besides, even if under the hood, the
IGRaphBuilder.RemoveFilter loses a reference to the IBaseFilter by
detaching the filter from the graph, that is done in the context of the
first thread, which created the component. So, again, why is this piece
of code not functioning?
.
- Follow-Ups:
- Re: Cross-apartment COM interface marhsalling
- From: Willy Denoyette [MVP]
- Re: Cross-apartment COM interface marhsalling
- References:
- Cross-apartment COM interface marhsalling
- From: moonstorm
- Re: Cross-apartment COM interface marhsalling
- From: Willy Denoyette [MVP]
- Re: Cross-apartment COM interface marhsalling
- From: MoonStorm
- Re: Cross-apartment COM interface marhsalling
- From: Willy Denoyette [MVP]
- Cross-apartment COM interface marhsalling
- Prev by Date: Re: Access violation in process if .NET listens to events from a Visual Basic 6 class
- Next by Date: Re: Cross-apartment COM interface marhsalling
- Previous by thread: Re: Cross-apartment COM interface marhsalling
- Next by thread: Re: Cross-apartment COM interface marhsalling
- Index(es):
Relevant Pages
|