Ha! It makes sense now :-)
In general I am against using not documented (and as such not supported functions). And when seeing the function declaration:
Public int mdlCompGeom_convexHull2d ( Dpoint3d **outPtsPP, /* <=> convex hull points */ int *outNumP, /* <=> number of points in convex hull */ Dpoint3d *intPtsP, /* => points to contain */ int inNum, /* => number of points */ int showCompletionBar, /* => TRUE == show completion bar */ char *messageP /* => text to show in completion bar */ );
it seems it will be tricky to call it. Especially pointer to pointer is not nice construction to pass between native and managed code and also to work with created native array of points.
If mdlCompGeom_convexHull2d is really required, in my opinion to use C++/CLI is much easier and more stabile option. But the question is why to don't use some free / open-source convex hull library available on Internet?
With regards,
Jan