Hello All,

I was struck with a serious issue with my MFC dialog based project which uses COM.Until last week it worked well without any issues, but suddenly it gives the "0xC015000F: The activation context being deactivated is not the most recently activatated" error.
I have gone through lot of forums and knew that "afxAmbientActCtx = FALSE" statement inclusion under CWinApp::InitInstance() will avoid the issue.
I followed the same way, but still getting the same error.
Can anybody help me, this is very urgent task for me.
Thanks In Advance.

OS: Windows XP, sp3
IDE: Visual Studio 2005, sp2