Wednesday, July 16, 2008

Tiburón Sneak Peek: COM Wizards

So every single COM wizard got a facelift. But it's more than a facelift, they are consistent, easier to use with more information available than before. One of the biggest reasons for doing this was to make it easier for QA to write automation tests. The previous wizards heavily used form inheritance which makes automating with Zombie (our in-house automation software) difficult to use. The form inheritance has also made localizing difficult.

Both the C++ and Delphi wizards are exactly the same (except where different, obviously). The first thing you'll probably notice is the pretty graphic on the left and the text at the top. But there's some nice functionality in the rest of the dialog as well. Notice the red * to the right side of some of the edit and combo boxes. It'll tell you what information needs to be entered before the OK button can be clicked with some limited validation happening as you type.

Each wizard has an interface field similar to the one in previous version of the COM Wizard. This allows you to see what interface is going to be created or in some cases choose your own interface name. Some wizards, such as the COM wizard, allow you to choose from interfaces registered on the system. The Implement Existing Interface dialog has been updated as well and I'll post about it later.

One special treat is a new wizard has joined us again this version; The ActiveX Control Wizard.

No comments:

Post a Comment