G
Guest
How do I write the C# equivalent of the following VC6 methods? They will be
exposed on a COM interface and used by VC6, VB6, and .NET apps.
int SetPolygon(SAFEARRAY(double)points);
int SetRectangle(SAFEARRAY(double)rects_info);
int SetManyPolygons(SAFEARRAY(SAFEARRAY(double))points);
Each point is an x/y pair.
Each rects_info is an origin x/y, width, and height.
exposed on a COM interface and used by VC6, VB6, and .NET apps.
int SetPolygon(SAFEARRAY(double)points);
int SetRectangle(SAFEARRAY(double)rects_info);
int SetManyPolygons(SAFEARRAY(SAFEARRAY(double))points);
Each point is an x/y pair.
Each rects_info is an origin x/y, width, and height.