Print Page | Close Window

CodeJock Integration Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=16093
Printed Date: 21 June 2025 at 11:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CodeJock Integration Problem
Posted By: Kalkin
Subject: CodeJock Integration Problem
Date Posted: 28 January 2010 at 5:34am

Hi all.

I have a huge MFC application with standard MFC GUI. In fact, this application is an ERP system. Now I have to add new editor of some kind to this application. I have decided to use CodeJock ToolKit Pro for this purpose, but I have some questions.

1) I have created a simple stub MDI child frame with CodeJock components (docking panes and other useful stuff). Now I am trying to integrate it into my application. The code compiles and links fine. But behaviour of the application become strange. I get a lot of exceptions "Access violation - no RTTI data" when the new child frame is active and I am trying to use mainframe's menu or switch between child windows. Both mainframe's menu and any other child window don't use CodeJock. It's mystic for me, but in 5% of cases application works fine.

I tried to use CodeJock CXTPMDIFrameWnd as a base class for MDI MainFrame of my application, but nothing happened. I don't want to add CodeJock support in the whole application because it will take a lot of work. I have inherited this huge project only four months ago.

2) Is it possible to use CodeJock only in a small part of MFC application? This new part will depend on old part strongly!

Can anyone help me?

I use Visual Studio 2003 and ToolKit Pro 12.0.2.

P. S. Exscuse me, please, for poor English.




Replies:
Posted By: Fredrik
Date Posted: 29 January 2010 at 4:35am
As for your first question I think you have to recompile the codejock libraries with runtime type information enabled. You find this option under Properties, C/C++, Language.

-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



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