fabpuddu

Using ForceElementLayer from two thread

Discussion created by fabpuddu on Feb 28, 2012
Hi,

I�??am try to use ForceElementLayer from two different threads, each Thread show a different Form; into each class there is a method with this code:
Private m_cachedGraphicFL As IcachedGraphicFeatureLayer
m_cachedGraphicFL = New ForceElementLayerClass()
The Form work fine but when the second Form generate error �??Attempted to read or write protected memory�?? on
m_cachedGraphicFL = New ForceElementLayerClass()

if I don't use the 2 thread all work fine

anyone can help me

Best regards

Outcomes