Hexagon Geospatial

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Regular Visitor
Posts: 1
Registered: ‎03-18-2016

Migrate Modeless Custom Command from GM2015 to GM2016


I tried to migrate a custom command from GM2015 to GM2016. I compiled custom command in VS2013. It works fine but when I deactivate custom command I cannot re-activate and I have to unload it (File, customize, unload user command and select my cc). After unload I can re-activate cc. Could anyone help me?

Many Thanks

Technical Evangelist
Posts: 526
Registered: ‎09-11-2015

Re: Migrate Modeless Custom Command from GM2015 to GM2016

Without the source code, the only I can advise is to remove all Marshal.ReleaseComObject and Marshal.FinalReleaseComObject calls and try it again.



Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.