MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Linking data by using CDataSets: LinkTerritories(..) in VC++

This is a discussion on Linking data by using CDataSets: LinkTerritories(..) in VC++ within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2006
Junior Member
Yellow Belt
 
Join Date: Jun 2006
Posts: 13
Linking data by using CDataSets: LinkTerritories(..) in VC++

How to deal with "ArrayOfFields" as argument in the CDataSets::LinkTerritories() function?
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-15-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
cdatasets, data, linking, linkterritories


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Importing or linking data alwasl8 MapPoint 2006/2009 Discussion 0 06-21-2005 01:47 PM
Linking to Weather Data From MapPoint Anonymous MP2K Magazine Articles 1 11-01-2004 08:24 AM
Moving pushpin when linking data Anonymous MapPoint 2006/2009 Discussion 1 04-13-2004 06:53 PM
linking data to converted shapefile bob everett MapPoint 2006/2009 Discussion 1 06-22-2003 12:20 PM
Exceeding 8 ranges when linking data Anonymous MapPoint 2006/2009 Discussion 1 01-24-2003 10:49 PM


All times are GMT -5. The time now is 01:10 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54