I can't init the havok physic because every time I want to declear hkpWorldCinfo I got an error like this:
First-chance exception at 0x009ad346 in FrontGame.exe: 0xC0000005: Access violation reading location 0xffffffff.
even if I declear it as global member same error happen.
I creat my physic engine this way:
m_physicEngine =new CHavokPhysic();
and my class constructor: