Does the Mappoint 2004 ActiveX Control work in Delphi? Anybody know?
This is a discussion on Mappoint 2004 Control in Delphi within the MapPoint Desktop Discussion forums, part of the Map Forums category; Does the Mappoint 2004 ActiveX Control work in Delphi? Anybody know?...
Does the Mappoint 2004 ActiveX Control work in Delphi? Anybody know?
No, I don't think so. When trying I got the same error 'Interface not supported' as with MapPoint 2002.
Greetings, Jack.
We had the same sort of problems, but worked out ways round. We now have a low-cost D5/7 component available.
If you want to see it in action, download our compiled demo from :
http://www.gkconsulting.co.uk - Look in the 'Products' section.
you will need to change MapPoint.Map.EU.9 from OleContainer1.CreateObject(MapPoint.Map.EU.9, False) to match 2004 version string. Not sure what it is, you may need to look through registry to find it.
We are using MP 2002 / 2004 in C++ Builder 6.
Our workaround to the "Interface not supported" problem was to create a wrapper ActiveX control using Visual Basic 6 and use the new control within Builder. Even if you could use the native ActiveX control, there are a handful of things that inexplicably blow up in Builder, but work fine in VB, so we also wrapped those with VB routines.
Needless to say, MP works flawlessly within VB for everything.
There are currently 1 users browsing this thread. (0 members and 1 guests)