alinard

ISnappingEnvironment - ArcMap crash

Discussion created by alinard on Apr 20, 2011
Latest reply on Apr 25, 2011 by alinard
Hi,
I have a tool which uses ISnappingEnvironment:

m_SnappingEnv = TryCast(My.ArcMap.Application.FindExtensionByName("ESRI Snapping"), ISnappingEnvironment)
m_Snapper = m_SnappingEnv.PointSnapper
m_SnappingFeedback = New SnappingFeedbackClass()
m_SnappingFeedback.Initialize(Hook, m_SnappingEnv, True)


It works fine at Windows XP but crashes (at line m_Snapper = m_SnappingEnv.PointSnapper) on another machine (with Win 7 and x86 CPU).
Any ideas what is the reason? There is no error, just ArcMap crashes.

Any help would be appreciated!
Jan

Outcomes