Code: Select all
//! Very simple allocator implementation, containers using it are able to
//! be used it across dll boundaries
A much easier solution is to link the shared C++ libraries.
Configuration-> C/C++ -> Code Generation -> Runtime Library -> Multi-threaded DLL (/MD)
Even though irrlicht is not multithreaded, linking against the multithreaded DLL libraries allows you to use 'new' in one dll and 'delete' in another becuase the c runtimes are shared.
No need for irrAllocator, IMO. It's like including the kitchen sink!