![]() |
pCommandBars->LoadDesignerBars now fail in 11.2 |
Post Reply
|
| Author | |
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Topic: pCommandBars->LoadDesignerBars now fail in 11.2Posted: 20 September 2007 at 11:47am |
|
HRSRC hRsrs = FindResource(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDR_COMMANDBARS), _T("XCB"));
ASSERT(hRsrs); if (hRsrs) { HGLOBAL hGlobal = LoadResource(AfxGetInstanceHandle(), hRsrs); if (hGlobal) { DWORD dwSize = SizeofResource(AfxGetInstanceHandle(), hRsrs); LPVOID pData = LockResource(hGlobal); CMemFile file((BYTE*)pData, dwSize); CArchive ar(&file, CArchive::load | CArchive::bNoFlushOnDelete); pCommandBars->LoadDesignerBars(ar); } } worked in 11.1.3, but now causes ASSERT in 11.2 in CXTPToolBar::MergeToolBar near the end of the function: ASSERT(m_pControls->m_pOriginalControls == NULL); |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2007 at 1:04am |
|
Hello,
Can you please attach this xcb file to test ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2007 at 1:16am |
|
Sure, I'll put it in issuetrack thing
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |