Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CodeJock Integration Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CodeJock Integration Problem

 Post Reply Post Reply
Author
Message
Kalkin View Drop Down
Newbie
Newbie


Joined: 28 January 2010
Location: Russian Federation
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kalkin Quote  Post ReplyReply Direct Link To This Post Topic: CodeJock Integration Problem
    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.

Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post 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
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.047 seconds.