Print Page | Close Window

ASSERT while using CXTPSyntaxEditCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=17301
Printed Date: 21 November 2024 at 11:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ASSERT while using CXTPSyntaxEditCtrl
Posted By: Aaron Koolen
Subject: ASSERT while using CXTPSyntaxEditCtrl
Date Posted: 22 September 2010 at 10:35pm
I'm trying to instantiate a syntax edit control and am getting an ASSERT in:

CXTPSyntaxEditAutoCompleteWnd::CXTPSyntaxEditAutoCompleteWnd()

on this line: VERIFY( m_ilACGlyphs.Create(XTP_IDB_EDIT_GLYPHS, 16, 16, RGB(255,255,255)) );

Do I need to manually insert resources into my project for this control to work? The main CodeJock library is built into our main application and the code I am constructing the syntax edit control in, is in a DLL. I am thinking that a module state problem is occurring here that will require me to include the resources by hand into my DLL but I would prefer a more elegant solution.

Any thoughts?

Aaron



-------------
Product: Xtreme ToolkitPro v13.3.0 (MFC)
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6



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