Multiple reports problem |
Post Reply |
Author | |
boltej
Newbie Joined: 12 August 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
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... |
|
Hazelnut
Groupie Joined: 22 July 2005 Location: United States Status: Offline Points: 18 |
Post Options
Thanks(0)
|
Wild guess, the control ID's are the same for both controls?
|
|
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 |