I've got some questions to ask as I can't see the rationale behind something.
In the default plugin DemoLib VS solution, the RunTimeExecute method has a parameter called "first iteration". RunTimeExecute always seems to get called twice, the first time with it set true and a second call with it set false. The two iterations always get called as the message boxes in the method confirm that. What I'd like to know is why?
The first iteration sets the returnVal parameter to 0 and the return value of the method is the length of the IA variables passed in.
The second iteration sets the newval parameter to a null string and it returns 0 as method return value.
Q: Why are there two iterations? That is, why is RunTimeExecute called twice at all?
Q: What would you want to do different in the second that you can't do in the first?
Q: What would you want or need to do in the first that you couldn't do in the second?
Q: What is the purpose of the callback? I know what callbacks are, I just don't know what it's used for in IA's context when the first iteration is called. The callback has a parameter called "smart position". What's that for? Clearly, it's a smart position as the clue is in the name but what exactly is it positioning smartly?

Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP