![]() |
Multiple instances of CXTPCalendarData |
Post Reply
|
| Author | |
ramunas_
Newbie
Joined: 04 July 2014 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: Multiple instances of CXTPCalendarDataPosted: 04 July 2014 at 5:16am |
|
Hello,
If i create multiple instances of CXTPCalendarData, then on closing application program crashes. CXTPCalendarData* dp1 = new CXTPCalendarData(); dp1.Open(); dp1.Close(); dp1.InternalRelease(); dp1 = NULL; CXTPCalendarData* dp2 = new CXTPCalendarData(); dp2.Open(); dp2.Close(); dp2.InternalRelease(); dp2 = NULL; Is it possible at all? If method "InternalRelease()" are not called it will not crash, but then it will not clean up, and leaks memory. |
|
![]() |
|
astoyan
Admin Group
Joined: 24 August 2013 Status: Offline Points: 324 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 July 2014 at 10:25pm |
|
Hello Ramunas,
Unfortunately we are unable to re-produce the issue. Can you please provide the version number of ToolkitPro you are using and also more detailed description of the usage scenario, e.g. at what point you create those instance and when you release them? Thank you. Regards, Alexander Stoyan |
|
![]() |
|
ramunas_
Newbie
Joined: 04 July 2014 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 July 2014 at 2:11am |
|
We use Calendar Pro 16.2.0.
I checked, and you are right there is no problems with CXTPCalendarData, multiple instances of it can be created. Problem arises with my custom CXTPCalendarData object.
|
|
![]() |
|
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 |