Noel Llopis - 2003-01-12

Following one of Tom's suggestions, I decided to set up my test cases inside a DLL, which would be loaded from my main app and called before it started.

Unfortunately, I get a crash right away because CPPUnit is trying to free an incorrect pointer (that's what the compiler said anyway). I suspect there's something I need to do to get CPPUnit to work from within a DLL. Any ideas what that might be?

Should I link my DLL with cppunitd.lib, or should I use cppunitd_dll.lib? I tried them both and made no difference.

I'm using RTTI in both my main app and my test DLL, and I tried both Debug Multithreaded DLL libraries and Debug Multithreaded with the same results.

Any ideas? Thanks.

--Noel