![]() |
CodeJock Integration Problem |
Post Reply ![]() |
Author | |
Kalkin ![]() Newbie ![]() Joined: 28 January 2010 Location: Russian Federation Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 235 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
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 |