Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - expand button problem?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

expand button problem?

 Post Reply Post Reply
Author
Message
Ashok View Drop Down
Senior Member
Senior Member


Joined: 02 May 2007
Status: Offline
Points: 164
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashok Quote  Post ReplyReply Direct Link To This Post Topic: expand button problem?
    Posted: 01 August 2007 at 9:39am
Hi,
  When I click the expand button(Toolbar options) in the toolbar, it gives assertion here, in the release mode only, not in the debug mode(in debug mode it is working fine).
please help.

// QueryInterface that is exported to normal clients

DWORD CCmdTarget::ExternalQueryInterface(const void* iid,

LPVOID* ppvObj)

{

// delegate to controlling unknown if aggregated

if (m_pOuterUnknown != NULL) - assertion here ????

{

HRESULT hRes = m_pOuterUnknown->QueryInterface(*(IID*)iid, ppvObj);

#ifdef _DEBUG

LPCTSTR strIID = AfxGetIIDString(*(IID*)(iid));

if (SUCCEEDED(hRes))

TRACE(traceOle, 1, _T("QueryInterface(%s) succeeded\n"), strIID);

else

TRACE(traceOle, 1, _T("QueryInterface(%s) failed\n"), strIID);

#endif

return hRes;

}

return InternalQueryInterface(iid, ppvObj);

}

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2007 at 5:46am
Hello,
It have be sometrhing in your code. Send project to test to support@codejock.com
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.