Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Rick van Haasen
My application raises an assertion in SmallObjAllocator::Deallocate( void * p )
This application uses a function from a .dll that returns a Loki::SmartPointer.
It looks that the SmallObjAllocator::Allocate(), (indirectly called by the function in the dll) is called on a different SmallObjAllocator object that the main application uses (SmallObjAllocator::DeAllocate), which explains why the deallocation fails.
The Loki stuff is statically linked to both the dll and the main application, which more or less explains the behaviour.
How can i solve this problem, has anyone tried to build a .dll version Loki?