Hi all,
This is my first time posting to these forms. I have what I believe is a simple but foundational question concerning the object model at use in ArcObjects / for ArcMap tools.
I've noticed that just about every UI-related method in the .NET/C# API expects an IApplication object. Call it an overly simple question, but why is this? I'm writing an extension to ArcMap, and in doing so I have never noticed the IApplication object change. Isn't this ripe for a singleton object?
As usual with design questions, I assume that their decision was well informed and that I am not. Are there circumstances where a single code base can run against multiple applications? Can the IApplication object be reallocated at run time? Is this related to some detail about COM object programming with which I am not familiar?
I'd appreciate any illumination you could offer, thanks!
- Scott