Print Page | Close Window

Multiple reports problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=2718
Printed Date: 04 December 2024 at 3:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiple reports problem
Posted By: boltej
Subject: Multiple reports problem
Date Posted: 12 August 2005 at 2:36pm

I have a fairly complex app that I am trying to use two CXTPReportControls in.  The basic structure of the app is such that each report control lives inside a separate container window, with both container windows living inside a CView-derived window.  When I instantiate either report control without the other, everything works fine.  When I try to instantiate both controls, the app fails with a CMyView->CreateObject() failure.  It looks like the second report control isn't able to be allocated.  The usual suspects (out of memory, DECLARE_DYNAMIC/IMPLEMENT_DYNAMIC included in all containing, etc) all check out.  This happens even if the report controls do nothing, not even get Create()'ed.

Any ideas?

Thanks...




Replies:
Posted By: Hazelnut
Date Posted: 02 September 2005 at 12:42pm
Wild guess, the control ID's are the same for both controls?



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