Libraries / packages
Posted on 2003-11-10
I need to clear some doubts that I've about libraries:
1. What is the .Bpl and .Dcp files used for, because if I put the USES clause and write there the .Pas file that I use in the package, I don't need these package files? In what case I need them?
2. If I register some component in the VCL, why do I've to refer the USES clause with the .PAS file, to be able to get access to a class that it was registered by this component?
3. What is the best way to use a package? Design time / Run Time? Load and Unload them in code? Give me some examples.