AssertUnaltered when changing the painttheme |
Post Reply |
Author | |
Alex G.
Groupie Joined: 22 December 2004 Location: Germany Status: Offline Points: 74 |
Post Options
Thanks(0)
Posted: 25 September 2017 at 2:51am |
Hello, when I try to change a theme for a specific ReportControl, I got this assert: AFX_INLINE void CXTPCachedGdiObjectReferenceBase::AssertUnaltered() { ASSERT("Cached GDI object has been changed" && m_hObject == m_pObject->m_hObject); } The call stack: > AnkhorFlowSheetD.exe!CXTPCachedGdiObjectReferenceBase::AssertUnaltered() Line 231 C++ AnkhorFlowSheetD.exe!CXTPFontCache::CreateFontIndirectW(const tagLOGFONTW * lpLogFont) Line 616 C++ AnkhorFlowSheetD.exe!CXTPFont::CreateFontIndirectW(const tagLOGFONTW * lpLogFont) Line 728 C++ AnkhorFlowSheetD.exe!CXTPReportPaintManager::CXTPReportPaintManager() Line 211 C++ AnkhorFlowSheetD.exe!CXTPReportThemeOffice2013::CXTPReportThemeOffice2013() Line 60 C++ AnkhorFlowSheetD.exe!CXTPReportThemeVisualStudio2015::CXTPReportThemeVisualStudio2015() Line 51 C++ AnkhorFlowSheetD.exe!CXTPReportControl::SetTheme(XTPReportPaintTheme paintTheme, int bEnableMetrics) Line 8038 C++ Any ideas ? |
|
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 |