I tried to use CPPUnit as a dll with a development project that I work with but was unseccussful. The project statically links to MFC and this seems to be the problem. I tried creating projects from scratch and if I linked statically it does not work but if I link using a shared DLL it works.
The problem seems to be how memory is allocated/deallocated. I get a crash dealing with memory deallocation.
I was able to link to CppUnit with a static link but wondered if there was a way to use the dll version instead.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to use CPPUnit as a dll with a development project that I work with but was unseccussful. The project statically links to MFC and this seems to be the problem. I tried creating projects from scratch and if I linked statically it does not work but if I link using a shared DLL it works.
The problem seems to be how memory is allocated/deallocated. I get a crash dealing with memory deallocation.
I was able to link to CppUnit with a static link but wondered if there was a way to use the dll version instead.