5

When you extend Esri's ArcMap with both an Extension, a Toolbar and a number of Commands, is the order in which these categories are loaded by ArcMap well-defined? (I.e. are Commands always loaded before Toolbars, Extension always loaded before Commands, etc.)

3

in 9.x, I'm pretty sure it is Extensions, Commands then Toolbars. I'd have to check with 10.0 since they are using a different method for loading custom code (although it's prob still the same)

cheers brian

1

I'd recommend reading the "About extensions" topic http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM/ExtendAO/AboutExtensions.htm which covers just-in-time extension loading. Ideally all extensions should be JIT extensions. Tools and commands can control the startup of a JIT extension etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.