Re: How on earth do you add a component to Delphi 2005




> Except that the component I have is a .PAS file, it is not in a package.

First check if the pas file has a global Register procedure.
If it doesn't you will have to create one.

Option 1
* Open the dclusr.dpk file (In {$Delphi}\Lib
* Add your pascal file to it
* Build
* Right click ont he project manager and choose install

2)
* Choose file new package, save it somewhere
* Change the package options to a degin time package
* Add the pas file to your package
* compile
(If necessary add any other required packages)
* Right click ont he project manager and choose install

--
Marc

.



Relevant Pages

  • Re: TEmbeddedWB installation issues
    ... I believe that you need to go first to the component menu, choose install ... packages and remove the twebbrowser component that is already registered ... > embeddedwb.pas as the .pas file and then create a package file called ... > embeddedwbd7.dpk into which the .pas file is put. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: TEmbeddedWB installation issues
    ... I believe that you need to go first to the component menu, choose install ... packages and remove the twebbrowser component that is already registered ... > embeddedwb.pas as the .pas file and then create a package file called ... > embeddedwbd7.dpk into which the .pas file is put. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: D2007 - mind-numbing obstacles after upgrading
    ... which is only available to me as a .PAS file. ... Component> Install component and off I'd go. ... build a package to add a component to add something ...
    (borland.public.delphi.non-technical)
  • Re: Package Headaches
    ... > which references a .pas file with some constants in it. ... > my dclusr50 package. ... If your shared unit only contains constant declarations you may ...
    (borland.public.delphi.language.objectpascal)
  • How to install package?
    ... I'm running Delphi 2005 Architecture Trial and trying to open a demo project ... I try to add the package that should provide references to these other ... These components all end in a .pas file extension. ... I also added a path in the library path to the .pas files. ...
    (alt.comp.lang.borland-delphi)