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?