![]() |
Library not free'ed |
Post Reply
|
| Author | |
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Topic: Library not free'edPosted: 11 March 2007 at 2:29am |
|
I see that the RichEdit library is not being free'ed in deconstruction.
Also, I dont think the "UxTheme.dll" is being free'ed either. I am running an older version of BoundsChecker so its possible, its a mistake. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2007 at 1:56am |
|
Hi,
Yes, for static objects we don't call FreeLibrary intended , because destructors of static objects will be called in DlllMain and MSDN say : "It is not safe to call FreeLibrary from DllMain"
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2007 at 4:43am |
|
I see, I thought you might call a "Cleanup" function at a known shutdown point rather than rely on a normal static deconstruction which happen in an unknown order and cause issues.
|
|
![]() |
|
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 |