0 Replies Latest reply on Apr 5, 2012 3:35 AM by imranmd

    ArcGis 10.0 + WPF + System.AccessViolationException ERROR!!!!

    imranmd
      Hi...


      Iam using WPF to display the map(.mxd) from a folder..

      For this iam using 3 windowsformhost
      1 is for toolbar control
      2 is for toc control
      3 is for map control..

      when iam try to add a code in the toolbar control iam getting the following error,,

      System.AccessViolationException

      Attempted to read or write protected memory. This is often an indication that other memory is corrupt.


        toolbarControl.AddItem("esriCadastralUI.CadastralEditorMenu");