Some people have had troubles with the previously posted SAP code, claiming that it was crashing when deleting objects. As it turned out, they were incorrectly using the library. So I updated the small test coming with the lib. The new version is here. If you define TEST_REMOVAL in the main source file, objects will be removed as soon as they collide.
Note that the SAP code didn’t change a bit - just the test case using the library. If you didn’t have troubles using the library before, there’s no need to download this new archive.
I kept both archives: the old one uses VC7, this one VC8.