Memory leaks in 11.1 |
Post Reply |
Author | |
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Posted: 17 April 2007 at 8:58am |
After re-compiling my application with 11.1 (10.4.2 before) I get the same memory leaks I've seen in the VistaTaskDialog sample:
Detected memory leaks! Dumping objects -> afxtempl.h(370) : {137554} normal block at 0x02628028, 60 bytes long. Data: < e > 00 00 00 00 CC 0F 65 02 01 00 00 00 00 00 00 00 strcore.cpp(118) : {137553} normal block at 0x02671028, 38 bytes long. Data: < C O > 01 00 00 00 0C 00 00 00 0C 00 00 00 43 00 4F 00 strcore.cpp(118) : {137551} normal block at 0x02650FC0, 36 bytes long. Data: < S H > 01 00 00 00 0B 00 00 00 0B 00 00 00 53 00 48 00 Object dump complete. XP SP2, VC6 SP6. To reproduce it just run the VistaTaskDialog sample and close it without any further action. |
|
Codejock support
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
yes, think we will publish some update for 11.1 - problem appears then you declare skinframework but not use it (didn't call LoadSkin)
add now line in consrtuctor and it will fix it:
CXTPSkinManagerApiHook* pApiHook = CXTPSkinManagerApiHook::GetInstance();
pApiHook; Thank you.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
I get more memory leaks if I don't call LoadSkin and open a modal dialog and then close the app. It does only happen with modal dialogs.
Here is a modified version of the MainFrm.cpp of the RibbonMDISample, I've added only 2 lines. uploads/20070417_183141_MainFrm.zip ------- ------- ------- Run the app, open the About dialog and move it over the Ribbon/Frame caption and then close the dialog and then the app --> More memory leaks. I don't see the memory leaks every time, just play a little bit around and you'll see them. |
|
Codejock support
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
As I wrote add
CXTPSkinManagerApiHook* pApiHook = CXTPSkinManagerApiHook::GetInstance();
pApiHook; in end of constructor.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Fixed.
|
|
Codejock support
|
|
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 |