Using the AIPathConstructionMemoryObject
Hello,
I want to use the ReducePathSegments function from the Path Construction
Suite. The function requires an AIPathConstructionMemoryObject.
My Code looks like this:
AIPathConstructionMemoryObject *mem = new AIPathConstructionMemoryObject;
mem->allocate(500);
sAIPathConstruction->ReducePathSegments(art, factor, mem);
When mem->allocate(500) is called Adobe Illustrator throws the exception:
Access violation reading location 0xFFFFFFFFFFFFFFFF.
How do I use the AIPathConstructionMemoryObject correctly and how can I
determine how much memory ReducePathSegments needs?
Thanks
