Hi
I'm having problems with my code and Visual Studio points t a line where myhkStringMap is declared. The code looks like so:
typedef hkStringMap modelcache_t;//VS points here when it crashes in debug mode:static modelcache_t s_MdlCache;Do I need any special stuff to use the StringMap, like enabling managed space in the engine or something similar?This is my call stack:DX_NGD.exe!hkThreadMemory::allocateChunk(int nbytes=192, HK_MEMORY_CLASS cl=HK_MEMORY_CLASS_ARRAY) Line 243 + 0x7 bytesDX_NGD.exe!hkCachedHashMap::hkCachedHashMap(hkStringMapOperations ops={...}) Line 38
>DX_NGD.exe!`dynamic initializer for 's_MdlCache''() Line 16 + 0x13 bytes
DX_NGD.exe!_cinit(int initFloatingPrecision=1) Line 293 + 0x19 bytes
DX_NGD.exe!__tmainCRTStartup() Line 301 + 0x6 bytesAll I get is a runtime Access Violation. Is this something with Havok or is it just my fault somewhere?


