Appendix A
Updating from previous versions of SmartHeap

If you’re upgrading from a previous version of SmartHeap, please read this appendix for important information about SmartHeap 3.3, 3.2, 3.1, 3.0, 2.2, 2.1, and 2.0.

Note On 16- and 32-bit Windows platforms, SmartHeap 2.21 and later now ships with HeapAgent libraries instead of the Debug SmartHeap libraries. The HeapAgent libraries have the same API as Debug SmartHeap, but the library file naming convention has changed from shdXXXXd.lib to haXXXX.lib. There is a corresponding change in the SmartHeap header files, too. The debug APIs and structures have been moved to heapagnt.h. You can continue including smrtheap.h or smrtheap.hpp in your sources files — the SmartHeap header files now automatically include heapagnt.h if MEM_DEBUG is defined.

The SmartHeap API is source-compatible with previous versions, but it is not binary-compatible. Therefore, do not rename (for example) OPTIMEM.DLL, SMRTHEAP.DLL, SH20W16.DLL, SH21W16.DLL, or SH22W16.DLL to the new SmartHeap DLL name, SH30W16.DLL!

Also, be sure to delete all SmartHeap header files from previous SmartHeap releases before compiling applications with the latest version of SmartHeap.

New features added for SmartHeap 6.0 include:

New features added for SmartHeap 5.0 include:

New features added for SmartHeap 4.0 include:

New features added for SmartHeap 3.3 include:

Be sure to read the readme.txt (or README) file for additional changes that might not be listed here.

SmartHeap Programmer’s Guide