Re: ScopeGuard and CComPtr

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.
.



Relevant Pages