Monthly Archives: August 2011

Chapter 10: Reading editor code

By | August 29, 2011

In this chapter I’ll go through how to get the code from the editor and do something with it. For this example I’m simply going to allow you to select a method from the current module and move to its position. This will use some of the utility functions I’ve described before in (see Chapter… Read More »

Chapter 9: Aboutbox Plugins and Splash Screens

By | August 25, 2011

This time around I’m going to talk about the ability of Delphi 2005 (and above) to display information about your wizard/expert on the splash screen and also in the About dialogue box. First of all we need some global private module variables to hold information that is common between the about box plugin and the… Read More »

Chapter 8: Editor Notifiers

By | August 19, 2011

This time around I’m going to look at editor notifiers so that you can get notifications of when editors have changed and a few other useful things. The implementation below I’m going to show will only work in Delphi 2005 and above. I will write some thing at the end on how you can work… Read More »

Finding Open Tools API Interfaces

By | August 11, 2011

I’ve seen recently while looking for OTA information many people asking how to get a particular interface from the IDE. What follows is a process that I follow to try and find these interfaces and could be used as a rule of thumb but is not always correct. Services Interfaces Most of the IOTAXxxxxServices interfaces… Read More »

Chapter 7.1: IDE Compilation Events – Revisited…

By | August 10, 2011

As a continuation of the previous post on compiler events, in Delphi 2010 onwards there are 2 new interfaces named IOTACompileServices and IOTACompileNotifier and I thought I would describe how to use it and what it does. We’ll deal with the services interface first as we’ll need this to understand this to implement the other… Read More »

Debugging Open Tools API Experts on a Windows 7 64-bit Machine

By | August 5, 2011

Since upgrading to a new machine (Dell Precision M6500 with Windows 7 64-bit) late last year I’ve been unable to debug Open Tools API experts in a second instance of the IDE. When I’ve tried to run the second IDE it starts up okay and then the first IDE breaks like its at a breakpoint.… Read More »

Chapter 7: IDE Compilation Events

By | August 5, 2011

The interface(s) were are going to look at are the IOTAIDENotifierXxx interfaces. Now when implementing these interfaces its important to implement ALL the inherited interfaces, else the methods signatures of these versions will NOT be called. I’ve recently made this mistake again and wondered for an hour why my Delphi 2010 project manager menu didn’t… Read More »