MJFSecurity 2.0 for C++ Builder 3


Author: Malcolm Smith
Business: MJ Freelancing
Email: mjsmith@mpx.com.au
Released: 30th April 1999


This document details the installation of the MJF Security Components (MJFSecurity).

Requirements

 

Installation 

The installation of MJFSecurity is very easy as long as you follow these instructions.
  1. Install MJFPack 1.12 if it isn't already installed.
  2. Current users of MJFSecurity can install these files directly over the top of all previous versions. There will be no conflicts. If you are going to install this version into the new recommended location make sure you remove the current version from C++ Builder. You must Remove the package from the menu option Components | Install Packages BEFORE you delete the files from your hard drive.
  3. Make a note of where you will be installing the files. The recommended location provided during the setup is "C:\Program Files\MJ Freelancing\MJFSecurity\BCB3".
  4. Close all applications (including C++ Builder) before continuing with the setup process.
  5. Start the Setup.exe program either from the Start | Run option on the taskbar or through the Control Panel | Add/Remove Programs option.
  6. At the Welcome screen click on the Next button.
  7. You will be prompted for the destination directory. If you currently use MJFSecurity and you want to install MJFSecurity into your current location click on the Browse button to locate the current location. If you are a new user click on Next to accept the recommended location.
  8. Click on Next to continue copying the files and then click Finish to close the setup program.
  9. Current users of MJFSecurity who installed the package into their current location can skip the rest of this document. Start building secure applications!
  10. Start C++ Builder and close any projects. We are now going to tell C++ Builder where the files are and install the new package.
  11. From the main menu choose Tools | Environment Options. Click on the Library tab. In the library path edit box enter the directory you installed the package into.

    If you chose the default location enter the following:

    1. C:\Program Files\MJ Freelancing\MJFSecurity\BCB3

    Remember to place a semicolon (;) after the last entry already in the edit box and the directory name you enter.

  12. Click on the OK button to close the dialog.
  13. From the main menu choose Project | Options. Choose the Directories/Conditionals tab.
  14. Click the ellipsis (...) next to Include Path and add the same directory location you entered in the Environment Options. Click OK to exit.
  15. Click the ellipsis (...) next to Library Path and add the same directory location you entered in the Environment Options. Click OK to exit.
  16. Click the Default box in the lower left corner of the dialog. This tells C++ Builder where this package is for all new projects.
  17. Click the OK button to close the dialog.
  18. From the main menu choose Components | Install Packages. Click on the Add button and locate the file MJFSecurity.bpl. After you install this file click OK to close the dialog.


Now all projects will search this location when compiling these components into your projects.

 

Installing the Help files into C++ Builder

  1. From the main menu in C++ Builder choose Help | Customize.
  2. Choose the 'Index' tab and add the file 'MJFSecurity.hlp'.
  3. Choose the 'Link' tab and add the file 'MJFSecurity.hlp'.
  4. Choose File | Save Project. This will update C++ Builder's help system.
  5. Choose File | Exit.


Now you can access help for all components and classes defined in the MJFSecurity package - even from the Object Inspector.