Print Page | Close Window

Memory leaks with inproc servers

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10382
Printed Date: 15 November 2025 at 1:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Memory leaks with inproc servers
Posted By: ABuenger
Subject: Memory leaks with inproc servers
Date Posted: 28 April 2008 at 6:32am
Our application uses the ANSI version of the Toolkit but also loads a COM component which uses the Unicode version of the Toolkit, so both variants are loaded:



If I now terminate the app I get a lot of memory leaks. In the future it may also be possible that different versions of the Toolkit are present within a single process, is this a tested/supported scenario?


C:\...\Beta4\Workspace\ToolkitPro\ToolkitPro.cpp(49) : {164} client block at 0x01EF7B18, subtype 0, 64 bytes long.
a CDynLinkLibrary object at $01EF7B18, 64 bytes long
a CDynLinkLibrary object at $01EF7B18, 64 bytes long
C:\...\Beta4\Source\Markup\XTPMarkupUIElement.cpp(194) : {163} normal block at 0x01EF7AA0, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupUIElement.cpp(34) : {162} normal block at 0x01EF7A28, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupTextBlock.cpp(155) : {161} normal block at 0x01EF79B0, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupStackPanel.cpp(149) : {160} normal block at 0x01EF7938, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupStackPanel.cpp(37) : {159} normal block at 0x01EF78C0, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(517) : {158} normal block at 0x01EF7848, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(442) : {157} normal block at 0x01EF77D0, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(373) : {156} normal block at 0x01EF7758, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(278) : {155} normal block at 0x01EF76E0, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(204) : {154} normal block at 0x01EF7668, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(92) : {153} normal block at 0x01EF75F0, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupShape.cpp(43) : {152} normal block at 0x01EF7578, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupScrollViewer.cpp(878) : {151} normal block at 0x01EF7500, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupScrollViewer.cpp(860) : {150} normal block at 0x01EF7488, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupScrollViewer.cpp(47) : {149} normal block at 0x01EF7410, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
C:\...\Beta4\Source\Markup\XTPMarkupResourceDictionary.cpp(426) : {148} normal block at 0x01EF7398, 52 bytes long.
 Data: <@ h             > 40 B5 68 01 00 00 00 00 00 00 00 00 00 00 00 00
plex.cpp(31) : {147} normal block at 0x01EF72B0, 164 bytes long.
 Data: < g          | o > 00 67 EF 01 00 00 00 00 0B 00 00 00 7C F9 6F 01



-------------
Codejock support



Replies:
Posted By: Oleg
Date Posted: 28 April 2008 at 8:51am
Hi,
Why your application can't use Unicode version if you have components that use Unicode ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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