Getting an exception from a new function added inside "clipper.export.h" #484
Unanswered
AhsinChoudhry786
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Getting an access violation from a new function added inside "clipper.export.h"
I have managed to build the clipper2 dll with visual studio 2022. I'm trying to load the DLL in Embarcadero Seattle C++.
I'm passing a list of points of two overlapped shapes and want the function to provide the list of points of the overlapped area
#define ADD(A,X,Y) A.push_back(Point64(int64_t(X), int64_t(Y)))
extern "C" typedef struct SHAPES_POINTS
{
std::vector PointsA;
std::vector PointsB;
std::vector OutputPoints;
} SHAPES_POINTS_TYPE;
EXTERN_DLL_EXPORT bool PointsInsidePolygon(SHAPES_POINTS_TYPE ShapePointsType)
{
Path64 a, b;
}
Beta Was this translation helpful? Give feedback.
All reactions