Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
VCL
8-Byte Alignment
Action Classes
Additional Controls
Core VCL Classes
DFM to TEXT
Dialog Controls
TColorDialog
TFindDialog
TFontDialog
TOpenDialog
TOpenPictureDialog
TPageSetupDialog
TPrintDialog
TPrinterSetupDialog
TReplaceDialog
TSaveDialog
TSavePictureDialog
Docking
Drag/Drop
Emulation Classes
Exceptions
Gestures
Graphics
MAPI Support
MDI Support
Multi-Monitor Support
OnGesture event
Printing
Property/Type Editors
Registry / INI Objects
Ribbon Controls
Sample Controls
Services
Standard Controls
Styles
System Controls
Thread support
Touch Controls
Type Info
Win 3.1 Controls
Win 32 Controls
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/VCL/Dialog Controls
[ Add a report in this area ]
Report #:
58918
Status:
Closed
Memory leak when dynamically loading DLL with Dialogs unit uses
Project:
Delphi
Build #:
0
Version:
11.2
Submitted By:
Jerome DUVAL
Report Type:
Basic functionality failure
Date Reported:
2/29/2008 9:20:46 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
258018
Resolution:
Cannot Reproduce
(Resolution Comments)
Resolved in Build:
:
15.0.3589.25711
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
There is a memory leak when DLL are dynamically loading and unloading when the Dialogs or Controls units are in uses.
This a critical bug when the DLL is used by a windows service !
Versions concerned : Delphi 6, 7 & 2007
Steps to Reproduce:
Compile a simple DLL with the dialogs unit in the uses.
Use this code to load the DLL :
Hdll := LoadLibrary(PChar(DLLFileName));
try
finally
FreeLibrary(Hdll);
end;
Workarounds
None
Attachment
None
Comments
Andreas Hausladen at 3/1/2008 7:16:57 AM
-
There is a workaround in CodeCentral:
http://cc.codegear.com/Item/25104
Jerome DUVAL at 3/6/2008 7:46:50 AM
-
Thanks a lot, it works fine !
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us