AnsweredAssumed Answered

MeasureTool in 10.2.2 What to replace with?

Question asked by ttam on Aug 6, 2014



I am porting an ArcGIS Engine application from version 10.0 to version 10.2.2. The application is written in Visual C++ (2010).


The application uses the geodesy MeasureTool that used to be provided by the DefenseSolutions.dll. This has now gone, what should I replace the MeasureTool calls with?


A sample code snippet (in Visual C++) is shown below



m_measureTool->SpecialGeolineType = cjmtkSGTGeodesic;





where m_measureTool is IMeasureToolPtr


The ArcObjects 10.2.2 VC++ 2010 help for ESRI (that is installed as part of the ArcGIS Engine Developer Kit) still refers to ESRI.ArcGIS.DefenseSolutions. It also states that it is available in ArcGIS Engine and ArcGIS Desktop.


Company is Thales, using Visual Studio C++ 2010, Windows XP SP3.


Many thanks