Calling MapPoint From C++ Without the MFC Safety Net

Eric Frost
03-17-2004, 10:43 PM
Richard Marsden shows you how to access the MapPoint COM interface from C++ without using MFC. The code has been tested with Visual C++, Intel C++ Compiler, and C++Builder

Read the full article here:
http://www.mp2kmag.com/a106--c++.without.mfc.mappoint.html

Eric Frost
05-13-2004, 12:34 PM
fyi..:

Microsoft's WTL Off to Open Source

From InternetNews: "The software giant announced plans to release the Windows Template Library (WTL) project on SourceForge under an externally created open-source license. The idea is to encourage a larger pool of developers to tinker with the code and improve the bug-finding process."

http://www.internetnews.com/dev-news/article.php/3353341

StreetPusher
06-09-2004, 04:33 AM
Is there any examples on how to use MapPoint 2004 embedded in a View?
(Visual C++ & MFC)

Thanks

Winwaed
06-09-2004, 07:40 AM
I haven't done it myself. Have a look at the MapPoint documentation, and there are details about the object names being slightly different, how to select N.America vs Europe, etc.

If you're using MFC, then you should be able to 'load' the MapPointControl.ocx file in the way Microsoft intended.
You'll need to read up on OCX and ActiveX.
I suspect Google and the MSDN will be very useful for this aspect!
You may need to adapt Excel or Word examples to MapPoint, but this is how I got a lot of the attached article to work.


Richard

 
Web mp2kmag.com
mapforums.com