Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - ASSERT while using CXTPSyntaxEditCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASSERT while using CXTPSyntaxEditCtrl

 Post Reply Post Reply
Author
Message
Aaron Koolen View Drop Down
Groupie
Groupie


Joined: 22 July 2009
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Koolen Quote  Post ReplyReply Direct Link To This Post Topic: ASSERT while using CXTPSyntaxEditCtrl
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.