I'm programming an activex mappoint control in visual C/MFC... where i show the route of a truck.
I'm using addshape to show the origin and destination of the truck as a rectangle with text.... and pushpins (points) to show the journey of the truck.
I'm trying to join all the points of the journey by addlines from point1 to point2, it works fine until i paint more than 12 lines then the control hangs!
i tried with addpolyline() but i don't know how to do it with visual C because methods requires variants or arrays of variants.
Some help? thanks.