On Mon Jan 29 16:17:52 2024 +0000, David Kahurani wrote:
I'm not sure this will be possible. Looking at EmfPlusPoint: `typedef struct EmfPlusPoint { short X; short Y; } EmfPlusPoint;` On the other hand, GpPoint, which is a typedef for Point is defined as: `typedef struct Point { INT X; INT Y; } Point;` It seems to me that the difference in internal types means casting EmfPlusPoint to GpPoint will give us memory corruption.
Oh, you're right, never mind.