This small difference in the arguments of the function:
nanoCAD: InanoCADUtility_GetEntity (pUtility, & var1, & var2, var3);
autoCAD: IAcadUtility_GetEntity (IAcadUtility * This, IDispatch ** Object, VARIANT * PickedPoint, VARIANT Prompt);
It has a large (unpleasant) consequences for working with AutoCAD.
I can call this function like this:
IAcadUtility_GetEntity (pUtility, (IDispatch **) & pEntity, & vpnt, Prompt);
and then get the coordinates 'vpnt' (picked-point), and even something like 'pEntity', but I have serious doubts that this is 'acadEntuty'.
I do not know how from 'IDispatch **' to get the object 'Entity'
And I would like in 1 or 2 steps ...