On 12/06/2015 at 13:17, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15.063
Platform:
Language(s) :
---------
When I call HairObject::Lock(), I end up jumping to address 0x0000000000000000() and get an
access violation. I have no idea what the cause of this could be. Tested in R15.063 only.
auto lib = (HairObjectLib* ) CheckLib(LIBRARY_HAIR, 0, nullptr);
CriticalAssert(lib != nullptr && lib->Lock != nullptr);
hair->Lock(doc, nullptr, false, 0);
// lib->Lock(hair, doc, nullptr, false, 0);
Unfortunately, using HairObject::GenerateHair() without locking the object first causes an access
violation as well (although we didn't change the stack pointer).
Thankful for any hints,
Niklas