Installation instructions for MIDASCON.PAS

  1. Copy MidasCon.pas to \delphi\source\vcl
  2. Create a unit MidReg.pas:
    unit MidReg;
    
    interface
    
    uses
      MIDASCon;
    
    procedure Register;
    
    implementation
    
    uses
      Classes;
    
    procedure Register;
    begin
      RegisterComponents('Data Access', [TMIDASConnection]);
    end;
    
    end.
    
  3. Component | Install Packages
  4. Select "Delphi Midas Components" and click
  5. File | New | File name: \delphi\bin\dclmid30.dpk Description: Delphi Midas Components
  6. <Add> MidReg.pas (from above) and MidasCon.pas (in vcl\source)
  7. <Install> (This will say it needs additional packages, click OK and it will continue the install.)
  8. Replace midascon.dcu in \delphi\lib with midascon.dcu in \delphi\source\vcl
  9. Rebuild ScktSrvr.dpr (in \delphi\source\vcl). This will give you a new ScktSrvr.exe. Be sure to place this newer copy of ScktSrvr.exe in the directory where you normally run it. The default location is \delphi\bin.

  Blog | DCOM | MIDAS | BDP | Struts
Speeches | Articles | Books | Links
Training | Mentoring | Support | Press Releases