Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-08-13 05:34:38


> I am having a windows MFC app that dynamically links to the regex lib.
> On application shutdown the memory leak detection kicks in and diagnoses
> leaks in the regex dll. If I use the static lib everything seems to be
> fine.
>
> I have to admit that I don't have a clue what's going on. Any ideas?

Nope, no idea either. However one thing that can happen: the regex library
initializes itself when it's first used, but then doesn't free itself until
the program exits, in fact with a dll regex lib, the regex cleanup occurs
after your exe has terminated doesn't it? So maybe this "asynchronous"
behaviour could the cause of your problems, but I can't be sure.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk