Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Linking data by using CDataSets: LinkTerritories(..) in VC++ within the MapPoint Desktop Discussion forums, part of the Map Forums category; How to deal with "ArrayOfFields" as argument in the CDataSets::LinkTerritories() function? I am using Visual C++ 6 and I want ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Linking data by using CDataSets: LinkTerritories(..) in VC++ I am using Visual C++ 6 and I want to link US county data from a file to MapPoint using CDataSets::LinkTerritories(). Array of Fields - the third argument in CDataSets::LinkTerritories() - is of type Variant. There is no description about how to deal with ArrayOfFields in a VC++ environment. My understanding is that ArrayOfFields is optional so that you do not need it. It should be sufficient if you specify the data you want to link to MapPoint in the file indicated by DataSourceMoniker - which is the first agrument in the CDataSets::LinkTerritories() function. But how to skip the ArrayOfFields? Just saying NULL will not be accepted by the compiler. I do not understand how to use LinkTerritories() within a VC++ code. Could someone help? |
| |||
|
Hi, I dont know how to do in C++ but this thread could maybe help you: http://www.mp2kmag.com/mappoint/disc...ays--6175.html
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz www.comfortsoftware.be MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| cdatasets, data, linking, linkterritories |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing or linking data | alwasl8 | MapPoint Desktop Discussion | 0 | 06-21-2005 12:47 PM |
| Linking to Weather Data From MapPoint | Anonymous | MP2K Magazine Articles | 1 | 11-01-2004 07:24 AM |
| Moving pushpin when linking data | Anonymous | MapPoint Desktop Discussion | 1 | 04-13-2004 05:53 PM |
| linking data to converted shapefile | bob everett | MapPoint Desktop Discussion | 1 | 06-22-2003 11:20 AM |
| Exceeding 8 ranges when linking data | Anonymous | MapPoint Desktop Discussion | 1 | 01-24-2003 09:49 PM |