I import CommandBar into my app and trying to fetch the properties of all the listed controls. My application crashes when fetching the RecentFileList property, to be exact, if the dispID=64, Access Violation exception is generated from Codejock.CommandBars.
I have also tried with for different control, say, "KeyBindings", whose DispID=10, is changed to 64 while debugging, will yield to a crash.
Stack Frame is shown below: ====== Codejock.CommandBars.v15.1.3.Demo.ocx!13186a25() [Frames below may be incorrect and/or missing, no symbols loaded for Codejock.CommandBars.v15.1.3.Demo.ocx] mfc42.dll!501c62d5() mfc42.dll!501aef28() mfc42.dll!501aeedb() mfc42.dll!501ca7bd() mfc42.dll!501afd3f() mfc42.dll!501ae7d2() > ob600Axd.dll!ATL::CComPtrBase<IDispatch>::~CComPtrBase<IDispatch>() Line 135 C++ mfc80d.dll!COleDispatchDriver::InvokeHelperV(long dwDispID=64, unsigned short wFlags=2, unsigned short vtRet=8, void * pvRet=0x0018d0a0, const unsigned char * pbParamInfo=0x00000000, char * argList=0x00000000) Line 397 + 0x38 bytes C++ mfc80d.dll!COleControlSite::InvokeHelperV(long dwDispID=64, unsigned short wFlags=2, unsigned short vtRet=8, void * pvRet=0x0018d0a0, const unsigned char * pbParamInfo=0x00000000, char * argList=0x00000000) Line 1093 C++ mfc80d.dll!CWnd::InvokeHelper(long dwDispID=64, unsigned short wFlags=2, unsigned short vtRet=8, void * pvRet=0x0018d0a0, const unsigned char * pbParamInfo=0x00000000, ...) Line 382 C++ mfc80d.dll!CWnd::GetProperty(long dwDispID=64, unsigned short vtProp=8, void * pvProp=0x0018d0a0) Line 394 + 0x1a bytes C++ ob600Axd.dll!ObActiveXControlImpl::GetPropA(const char * pszPropName=0x121a4230, unsigned short vtProp=8, void * pvProp=0x0018d0a0) Line 864 C++ ob600Axd.dll!ObActiveXControlImpl::GetProperty(const char * pszPropName=0x121a4230, ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char> > > & strResult="") Line 929 + 0x12 bytes C++ ob600Axd.dll!ObActiveXPropDlg::AddProperty(ObComProperty * pProp=0x121a41a8) Line 114 C++ ob600Axd.dll!ObActiveXPropDlg::LoadPropSheet() Line 87 C++ ob600Axd.dll!ObActiveXPropDlg::OnInitDialog() Line 32 C++ ======
Thanks in advance for your reply. Venky- Product: Xtreme SuitePro 2011 for Active X ( Codejock.CommandBars.v15.1.3.Demo.ocx) Platform: Windows 7 (64bit) -Enterprise Language: C++ / visual studio 2005
------------- Venki
|