
13 Aug
2004
13 Aug
'04
10:34 a.m.
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.