Re: ScopeGuard and CComPtr
- From: "Thore B. Karlsen [DShow MVP]" <sid@xxxxxxxx>
- Date: Sun, 18 May 2008 18:00:18 -0500
On Sun, 18 May 2008 17:27:39 -0500, Joe Flynn
<joseph.flynn@xxxxxxxxxxxxx> wrote:
See if this works:
ON_BLOCK_EXIT_OBJ(*pRenderEngine, &IRenderEngine::ScrapIt);
Thank you Thore! That worked very well. I did run into an issue on debug
builds if the /Zl compiler option (Program Database for Edit and
Continue) was set . Judging from the Google posts this is a known issue.
Is switching the option to /Zi (Program Database) still the preferred
solution?
Ah, that sounds familiar. I think that's the only thing I did. I
switched the compiler option and never saw any problems again. I don't
use edit and continue anyway, so it's not a big deal for me.
--
Be seeing you.
.
- References:
- ScopeGuard and CComPtr
- From: Joe Flynn
- Re: ScopeGuard and CComPtr
- From: Thore B. Karlsen [DShow MVP]
- Re: ScopeGuard and CComPtr
- From: Joe Flynn
- ScopeGuard and CComPtr
- Prev by Date: Re: ScopeGuard and CComPtr
- Next by Date: Multicast Directshow Graph Bridging, COW Rustling, & the Use of Portable Holes in Cartoon Physics.
- Previous by thread: Re: ScopeGuard and CComPtr
- Next by thread: Creating a bitmap from a sample
- Index(es):
Relevant Pages
|