Using SmartInspect with the Borland Turbo 2006 products
Published on Sunday, 27. August 2006
Products: SmartInspect Professional
SmartInspect fully supports the entire Borland Turbo product line, that is, Turbo Delphi, Turbo Delphi for .NET, Turbo C++ and Turbo C#. Since each of the Borland Turbo products reflects a personality in Borland Developer Studio, the sections in the SmartInspect documentation which refer to Borland Developer Studio are applicable to the Turbo products as well.
The following sections describe the usage and integration of SmartInspect in the various Turbo products. To automatically integrate SmartInspect into the installed Turbo products, choose the Borland Developer Studio 2006 IDE integration in the SmartInspect setup.
Borland Turbo C#
The following steps integrate the SmartInspect .NET library into Borland Turbo C#. It is recommended to close the IDE while applying the following steps.
- Choose Run in the Windows Start menu
- Enter regedit and click OK to start the Windows Registry Editor
- Open the key HKEY_CURRENT_USER\Software\Borland\BDS\4.0\AssemblyFolders
- Create a new key in AssemblyFolders called SmartInspect
- Edit the default value and enter the full path to the lib\dotnet\v1.x directory of your SmartInspect installation directory
Borland Turbo Delphi for .NET
The following steps integrate the SmartInspect .NET library into Borland Turbo Delphi for .NET. It is recommended to close the IDE while applying the following steps.
- Choose Run in the Windows Start menu
- Enter regedit and click OK to start the Windows Registry Editor
- Open the key HKEY_CURRENT_USER\Software\Borland\BDS\4.0\AssemblyFolders
- Create a new key in AssemblyFolders called SmartInspect
- Edit the default value and enter the full path to the lib\dotnet\v1.x directory of your SmartInspect installation directory
Borland Turbo Delphi
The following steps integrate the SmartInspect Delphi library into Borland Turbo Delphi. Please note that you should close all other instances of the IDE to correctly store the new settings.
- Open the IDE
- Choose the Options from the Tools menu
- Open the Environment Options|Delphi Options|Library - Win32 page
- Add the lib\delphi\delphi2006 directory of your SmartInspect installation directory to the Library path
Borland Turbo C++
The following steps integrate the C++ headers of the SmartInspect Delphi library into Borland Turbo C++. Please note that you should close all other instances of the IDE to correctly store the new settings.
- Open the IDE
- Choose the Options from the Tools menu
- Open the Environment Options|C++ Options|Paths and Directories page
- Add the lib\delphi\delphi2006 directory of your SmartInspect installation directory to the Search path
Now, in order to use SmartInspect in one of your projects, choose Add to Project from the Project menu, select the lib\delphi\delphi2006\SmartInspectD2006.lib file from the SmartInspect installation directory and press Open.
Live Templates
To use the SmartInspect live templates with the Turbo products, please refer to the Installing SmartInspect Code Templates and Snippets knowledge base article and follow the instructions of the corresponding Borland Developer Studio 2006 personalities.



