Question : Install .PAS component in Delphi 2007

What needs to be done (step by step) in order to install a PAS component made in Delphi 7 into Delphi 2007?

Answer : Install .PAS component in Delphi 2007

You have to include this .PAS in a PACKAGE (.DPK) - that is the source file of a .BPL file.
It can be either a new one, or an existing one.
Once this package compiled, you have to install it (if not already), and you will have a message telling you that some new components classes are registered.

Step by step :
1) File -> New -> Package
1a) Options : rename your package, add other options etc...

2) Project -> Add to project
select your .PAS file

3) Project -> Build Package
Some .BPL has just been created, you could then ise the Component menu to add your BPL

You can do Build+Instal in one step by right-clicking on the Package name where all file it contains are listed, and select "Instal"
Random Solutions  
 
programming4us programming4us