Print Page | Close Window

expand button problem?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7704
Printed Date: 13 November 2025 at 7:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: expand button problem?
Posted By: Ashok
Subject: expand button problem?
Date 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);

}




Replies:
Posted By: Oleg
Date Posted: 02 August 2007 at 5:46am
Hello,
It have be sometrhing in your code. Send project to test to mailto:support@codejock.com - support@codejock.com


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net