MapControl ( DeleteLayer ) PMF "compressed" or "compressed and locked" file

424
1
09-18-2013 09:50 AM
RomeoCureliuc
New Contributor III
My application ( 10.1 ArcObject ) crash any time when I try to remove the PMF ( compressed format ) layer file loaded on the map.
I have a crash, when I delete it from the map ( myMapControl -> DeleteLayer(correctIndex) ), only if the PMF loaded on the map it is in the "compressed" or "compressed and locked" format. In all the other case work well.

Can somebody help my?

Thanks very much ....
0 Kudos
1 Reply
RomeoCureliuc
New Contributor III
I have news.... ( in case somebody still can help my );
I have discovered that this crash occours with the same conditions described before but only if I have create a instance of IDynamicLayer.
Concluding, if I have create one instance too of a IDynamicLayer, when I remove the PMF file(  loaded on the map ), the application Crash. If I have not create any instance of IDynamicLayer on the map, I can remove the PMF file ( loaded on the map ) without any problems. So IDynamicLayer is the problem?!

Thanks in advance for any sugestion
0 Kudos