v17 VS2015 XTP_IDC_FONT_CODEJOCK |
Post Reply |
Author | |
ojones
Newbie Joined: 18 January 2016 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 18 January 2016 at 6:33am |
HI,
I've just installed and integrated the latest version with my app. In Debug I keep hitting the following assert too frequently and it is hindering all debug development work. ASSERT(NULL != hResModule); // line 3091 in void CXTPPrimitiveDrawer::InitFont() in the file XTPDrawHeplers. void CXTPPrimitiveDrawer::InitFont() { if (NULL == m_hCodejockMemFont) { ::EnterCriticalSection(&m_fontAccess); if (NULL == m_hCodejockMemFont && NULL != m_pfnAddFontMemResourceEx) { HMODULE hResModule = AfxFindResourceHandle( MAKEINTRESOURCE(XTP_IDC_FONT_CODEJOCK), RT_FONT); ASSERT(NULL != hResModule); The resource reference seems to be located in "rc" file Source\Common\Resource-Neutral.rc and the resource is located @ "Common/res/Codejock.ttf" XTP_IDC_FONT_CODEJOCK FONT DISCARDABLE "Common/res/Codejock.ttf" The solutions provided don't seem to load any resources except those from ToolkitPro.rc which is basically the version. I don't really want to have to mess about with the default installation to be rid of hitting this annoying ASSERT and it doesn't appear to be a problem if it doesn't load it when running the Release build. Any ideas? |
|
ericchubb
Groupie Joined: 31 May 2010 Location: Ireland Status: Offline Points: 15 |
Post Options
Thanks(0)
|
I'm having the same issue - it only appears in debug mode but can be very annoying! Any help would be appreciated
|
|
Eric
Product: Xtreme Toolkit Version 22.0 Platform: Windows 11 (64bit) - Language: Visual C++ 2022 /C# .NET 2/3.5/4/5/6/7 |
|
Cedric_ar
Groupie Joined: 04 September 2012 Status: Offline Points: 19 |
Post Options
Thanks(0)
|
I have the same problem with V17.3.1 how can i handle that. I really annoying. I'm using Xtp in dll mode no unicode.
|
|
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 |